حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ، ثنا مُسْلِمُ بْنُ إِبْرَاهِيمَ، ثنا شُعْبَةُ، عَنْ عَطَاءٍ الْخُرَاسَانِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيِّبِ، أَنَّ خَوْلَةَ بِنْتَ حَكِيمٍ، سَأَلْتِ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فَقَالَتْ: يَا رَسُولَ اللهِ الْمَرْأَةُ تَرَى فِي الْمَنَامِ مَا يَرَى الرَّجُلُ قَالَ: «إِذَا رَأَتْ فَلْتَغْتَسِلْ»
It is narrated from Sayyidah Khawlah bint Hakim (may Allah be pleased with her) that she asked the Prophet (peace and blessings be upon him): O Messenger of Allah, a woman sees in her sleep what a man sees (that is, a wet dream). He (peace and blessings be upon him) said: "When she sees that, let her take a ritual bath (ghusl)."