The Prophet ﷺ said, "You will be gathered barefoot and naked."I asked, "Some men and women looking at one another?"He replied, "The matter will be far too severe for them to be concerned with that."
أخبرنا عمرو بن علي قال حدثنا يحيى قال حدثنا أبو يونس القشيري قال حدثني ابن أبي مليكة عن القاسم بن محمد
عن النبي ﷺ قال إنكم تحشرون حفاة عراة قلت الرجال والنساء ينظر بعضهم إلى بعض قال إن الأمر أشد من أن يهمهم ذلك
Muslim narrated it in the Book of Paradise and Its Bliss, in the chapter on the passing away of this world and the description of the gathering on the Day of Resurrection, hadith 2859, from the hadith of Yahya Qattan. Bukhari narrated it in the Book of Softening of Hearts, in the chapter on the gathering, hadith 6527, from the hadith of Abu Yunus Hatim ibn Abu Saghirah Qushayri, with the same chain. It is also found in Al-Kubra, hadith 2211.