MUSLIM 338a:
from ʿAbd al-Raḥman b. Abū Saʿīd al-Khudrī from his father —
The Messenger of Allah ﷺ said: A man should not see the private parts of another man, and a woman should not see the private parts of another woman, and a man should not lie with another man under one covering, and a woman should not lie with another woman under one covering.
مسلم ٣٣٨a:
عن عبد الرحمن بن ابو سعيد الخدري عن أبيه —
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ يَنْظُرُ الرَّجُلُ إِلَى عَوْرَةِ الرَّجُلِ وَلاَ الْمَرْأَةُ إِلَى عَوْرَةِ الْمَرْأَةِ وَلاَ يُفْضِي الرَّجُلُ إِلَى الرَّجُلِ فِي ثَوْبٍ وَاحِدٍ وَلاَ تُفْضِي الْمَرْأَةُ إِلَى الْمَرْأَةِ فِي الثَّوْبِ الْوَاحِدِ
hadithunlocked.com