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