A:
There is no blame on you in dreaming that you divorced your wife or that you engaged in indecent talk with her. The divorce will not take effect as the actions of a sleeping person are excused. It is recommended to spit three times to your left side if you happen to have a bad dream and to seek refuge with Allah (Exalted be He) from Satan and from the evil of what you see three times; then you should assume another position of sleep. This is based on the Hadith reported from the Prophet (peace be upon him) which states that whoever does this will not be harmed by the evil of what they see. (Part No. 20; Page No. 37) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.