[Machine] There was a woman who used to pray behind the Prophet ﷺ and she was the most beautiful of all people. Some men were in the back rows and they looked at her. One of them used to look at her from under his armpit, and another one used to move forward to the first row so that he could not see her. Then Allah revealed this verse: "And We certainly know those who are ahead of you from among you and We certainly know those who are behind you." [Al-Hijr 24]
كَانَتِ امْرَأَةٌ تُصَلِّي خَلْفَ النَّبِيِّ ﷺ أَجْمَلَ النَّاسِ فَكَانَ نَاسٌ فِي آخِرِ صُفُوفِ الرِّجَالِ فَنَظَرُوا إِلَيْهَا قَالَ وَكَانَ أَحَدُهُمْ يَنْظُرُ إِلَيْهَا مِنْ تَحْتِ إِبْطِهِ وَكَانَ أَحَدُهُمْ يَتَقَدَّمُ إِلَى الصَّفِّ الْأَوَّلِ لَا يَرَاهَا فَأَنْزَلَ اللهُ ﷻ هَذِهِ الْآيَةَ {وَلَقَدْ عَلِمْنَا الْمُسْتَقْدِمِينَ مِنْكُمْ وَلَقَدْ عَلِمْنَا الْمُسْتَأْخِرِينَ} [الحجر 24]