Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:795Abū ʿAbdullāh > Abū ʿAbdullāh Muḥammad b. Yaʿqūb > ʿAlī b. al-Ḥasan al-Hilālī And ʾAḥmad b. Sahl Waḥuṣayn b. Muḥammad > Dāwud b. Rushayd > Ṣāliḥ b. ʿUmar > Abū Mālik al-Ashjaʿī > Anas b. Mālik

A woman asked the Messenger of Allah (way peace be upon him) about a woman who sees in her dream what a man sees in his dream (sexual dream). He (the Holy Prophet) said: If she experiences what a man experiences, she should take a bath. (Using translation from Muslim 312)   

البيهقي:٧٩٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا عَلِيُّ بْنُ الْحَسَنِ الْهِلَالِيُّ وَأَحْمَدُ بْنُ سَهْلٍ وَحُصَيْنُ بْنُ مُحَمَّدٍ قَالُوا ثنا دَاوُدُ بْنُ رُشَيْدٍ ثنا صَالِحُ بْنُ عُمَرَ ثنا أَبُو مَالِكٍ الْأَشْجَعِيُّ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

سَأَلْتِ امْرَأَةٌ رَسُولَ اللهِ ﷺ عَنِ الْمَرْأَةِ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ فِي الْمَنَامِ فَقَالَ إِذَا كَانَ مِنْهَا مَا يَكُونُ مِنَ الرَّجُلِ فَلْتَغْتَسِلْ  

رَوَاهُ مُسْلِمٌ عَنْ دَاوُدَ بْنِ رُشَيْدٍ

See similar narrations below:

Collected by Muslim, Nasāʾī, Ibn Ḥibbān, Nasāʾī's Kubrá
muslim:312Dāwud b. Rushayd > Ṣāliḥ b. ʿUmar > Abū Mālik al-Ashjaʿī > Anas b. Mālik

A woman asked the Messenger of Allah (way peace be upon him) about a woman who sees in her dream what a man sees in his dream (sexual dream). He (the Holy Prophet) said: If she experiences what a man experiences, she should take a bath.  

مسلم:٣١٢حَدَّثَنَا دَاوُدُ بْنُ رُشَيْدٍ حَدَّثَنَا صَالِحُ بْنُ عُمَرَ حَدَّثَنَا أَبُو مَالِكٍ الأَشْجَعِيُّ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

سَأَلَتِ امْرَأَةٌ رَسُولَ اللَّهِ ﷺ عَنِ الْمَرْأَةِ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ فِي مَنَامِهِ فَقَالَ إِذَا كَانَ مِنْهَا مَا يَكُونُ مِنَ الرَّجُلِ فَلْتَغْتَسِلْ  

Women must also perform ghusl for a wet dream

nasai:195Isḥāq b. Ibrāhīm > ʿAbdah > Saʿīd > Qatādah > Anas

that Umm Sulaym asked the Messenger of Allah ﷺ about a woman if she had a wet dream like that of a man. He said, "If water is released then let her perform Ghusl."  

النسائي:١٩٥أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ قَالَ حَدَّثَنَا عَبْدَةُ قَالَ حَدَّثَنَا سَعِيدٌ عَنْ قَتَادَةَ عَنْ أَنَسٍ

أَنَّ أُمَّ سُلَيْمٍ سَأَلَتْ رَسُولَ اللَّهِ ﷺ عَنِ الْمَرْأَةِ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ قَالَ: «إِذَا أَنْزَلَتِ الْمَاءَ فَلْتَغْتَسِلْ۔»  

ذِكْرُ الْبَيَانِ بِأَنَّ الْغُسْلَ يَجِبُ مِنَ الْإِنْزَالِ، وَإِنْ لَمْ يَكُنِ الْتِقَاءُ الْخِتَانَيْنِ مَوْجُودًا

ibnhibban:1164ʿAbdullāh b. Muḥammad al-Azdī > Isḥāq b. Ibrāhīm > ʿAbdah b. Sulaymān > Saʿīd > Qatādah > Anas

"If water is released then let her perform Ghusl." (Using translation from Nasāʾī 195)  

ابن حبّان:١١٦٤أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ الْأَزْدِيُّ قَالَ حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ قَالَ أَخْبَرَنَا عَبْدَةُ بْنُ سُلَيْمَانَ عَنْ سَعِيدٍ عَنْ قَتَادَةَ عَنْ أَنَسٍ

أَنَّ أُمَّ سُلَيْمٍ سَأَلَتْ رَسُولَ اللَّهِ ﷺ عَنِ الْمَرْأَةِ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ؟ قَالَ «إِذَا أَنْزَلَتِ الْمَرْأَةُ فَلْتَغْتَسِلْ»  

nasai-kubra:200Isḥāq b. Ibrāhīm > ʿAbdah > Saʿīd > Qatādah > Anas

"If water is released then let her perform Ghusl." (Using translation from Nasāʾī 195)  

الكبرى للنسائي:٢٠٠أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ قَالَ أَخْبَرَنَا عَبْدَةُ قَالَ حَدَّثَنَا سَعِيدٌ عَنْ قَتَادَةَ عَنْ أَنَسٍ

أَنَّ أُمَّ سُلَيْمٍ سَأَلَتِ النَّبِيَّ ﷺ عَنِ الْمَرْأَةِ تَرَى فِي مَنَامِهَا مَا يَرَى الرَّجُلُ قَالَ «إِذَا أَنْزَلْتِ الْمَاءَ فَلْتَغْتَسِلْ»