Ibn Shihab (may Allah have mercy on him) said: It reached us that al-Aliyah bint Zabyan (may Allah be pleased with her), whom he (peace and blessings be upon him) divorced, married before Allah made his wives unlawful (to others). She married her paternal cousin and had children by him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13425