Al-Kāfi

Hadith 1634
marriageadultery
3- عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ أَبِيهِ عَنِ ابْنِ أَبِي عُمَيْرٍ عَنْ حَمَّادٍ عَنِ الْحَلَبِيِّ عَنْ أَبِي عَبْدِ اللهِ (عَلَيْهِ السَّلام) فِي رَجُلٍ تَزَوَّجَ جَارِيَةً فَدَخَلَ بِهَا ثُمَّ ابْتُلِيَ بِهَا فَفَجَرَ بِأُمِّهَا أَتَحْرُمُ عَلَيْهِ امْرَأَتُهُ فَقَالَ لا إِنَّهُ لا يُحَرِّمُ الْحَلالَ الْحَرَامُ.
3. Ali ibn Ibrahim has narrated from his father from Ibn Abi ‘Umayr from Hammad from al-Halabiy who has said the following: “About the case of a man who marries a girl then goes to bed with her, then due to wickedness goes to bed with her mother; if she becomes unlawful for him, abu Ja‘far (a.s.), has said, ‘His wife does not become unlawful for him.’ He (the Imam) then said, ‘Unlawful never makes a lawful thing unlawful.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī