"O Messenger of Allah! Allah is not shy to tell the truth. Inform me: if a women sees in a dream what men see should she perform Ghusl from that?" The Messenger of Allah ﷺ said to her: "Yes." 'Aishah said: "I expressed my displeasure and said: 'Does a woman see that?' The Messenger of Allah ﷺ turned to me and said: 'May your right hand be covered with dust! How else would (her child) resemble her?'" (Using translation from Nasāʾī 196)
عَنْ عَائِشَةَ زَوْجِ النَّبِيِّ ﷺ أَنَّهَا أَخْبَرَتْهُ أَنَّ أُمَّ سُلَيْمٍ أُمَّ بَنِي أَبِي طَلْحَةَ دَخَلَتْ عَلَى رَسُولِ اللَّهِ ﷺ فَقَالَتْ يَا رَسُولَ اللَّهَ إِنَّ اللَّهِ لَا يَسْتَحْيِي مِنَ الْحَقِّ أَرَأَيْتَ الْمَرْأَةَ تَرَى فِي النَّوْمِ مَا يَرَى الرَّجُلُ أَتَغْتَسِلُ؟ قَالَ «نَعَمْ» فَقَالَتْ عَائِشَةُ فَقُلْتُ أُفٍّ لَكِ أَتَرَى الْمَرْأَةُ ذَلِكَ؟ فَالْتَفَتَ إِلَيْهَا رَسُولُ اللَّهِ ﷺ فَقَالَ «تَرِبَتْ يَمِينُكِ فَمِنْ أَيْنَ يَكُونُ الشَّبَهُ»