Hadith 19417
١٩٤١٧ - حدثنا أبو بكر قال: نا عبد الأعلى عن سعيد عن قتادة قال: يقع عليها عند كل طهر مرة ثم يمسك حتى تطهر، فإذا استبان حملها بانت.
Hazrat Qatadah (may Allah have mercy on him) says that if a person says to his wife, "When you become pregnant, you are divorced," then the man should not have intercourse with her again after having intercourse in each period of purity, until she becomes pure after menstruation again. When her pregnancy becomes apparent, she will become separated (divorced).
Hadith 19418
١٩٤١٨ - حدثنا أبو بكر قال: نا معاذ بن معاذ عن أشعث عن الحسن أنه قال في رجل قال لامرأته: إذا (حملت) (١) فأنت طالق، قال: يغشاها (إذا) (٢) (تطهرت) (٣) من الحيض، ثم (يمسك) (٤) عنها إلى مثل ذلك.
Hasan (may Allah have mercy on him) says that if a man says to his wife, "When you become pregnant, you are divorced," then after the woman becomes pure from her menstruation, he may have intercourse with her and then refrain. Ibn Sirin (may Allah have mercy on him) says that he may have intercourse with her until her pregnancy becomes apparent.