The Messenger of Allah ﷺ said, "You will be gathered barefoot, naked, and uncircumcised."Ayesha said, "I asked, 'Messenger of Allah, will the men and women be looking at one another?'"He replied, "The matter will be too severe for that to concern them."
قال رسول الله ﷺ: تحشرون حفاة عراة غزلا. قالت عائشة: فقلت: يا رسول الله، الرجال والنساء ينظر بعضهم إلى بعض؟ فقال: الأمر أشد من أن يهمهم ذاك.
Bukhari narrated it in the Book of Raqaiq (6527), and Muslim in the Book of Paradise (2859), both through Hatim bin Abu Saghira, from Abdullah bin Abu Mulayka, who said, "Qasim bin Muhammad bin Abu Bakr told me," that Ayesha, and then he related the hadith.