´Narrated Ibn 'Abbas:` "There was a woman who performed Salat behind the Messenger of Allah (ﷺ) who was the most beautiful among the people. Some of the people would go forward to the first line so as not to see her. Others would go back to the last line so when he would bow, he could look at her from under his armpit. So Allah revealed: Indeed We know those who try to come forward among you, and We know those who try to go back (15:24).
Hadith Referenceسنن ترمذي / كتاب تفسير القرآن عن رسول الله صلى الله عليه وسلم / 3122
Hadith Gradingالألبانی:صحيح، الصحيحة (2472) ، الثمر المستطاب / الصلاة | زبیر علی زئی:(3122) إسناده ضعيف / ن 871 ، جه 1046, عمرو بن مالك النكري: ضعيف عن ابي الجوزاء وقال ابن عي في ابي الجوزاء ”حديث عنه عمرو بن مالك قدر عشرة احاديث غير محفوظة“ (الكامل 402/1)
Hadith Takhrij«سنن النسائی/الإمامة 62 (871) ، سنن ابن ماجہ/الإقامة 68 (1046) ( تحفة الأشراف : 5364) ، و مسند احمد (1/305) (صحیح)»
´It was narrated that Ibn Abbas said:` "There was a woman who used to pray behind the Messenger of Allah (ﷺ) who was beautiful, one of the most beautiful of people. Some of the people used to go to the front row to avoid seeing her, and some used to go to the back row so that when they bowed they could see her from beneath their armpits. Then Allah revealed the words: 'To Us are known those of you who hasten forward and those who lag behind."
Hafiz Muhammad Ameen
871. Commentary: This narration is weak, therefore this specific reason for the revelation (shan-e-nuzul) of the verse is not authentic. However, in light of the context and sequence, the appropriate meaning of the verse is that We know those people as well who have died from the time of Adam (alayhis salam) until now, and also those who are still alive or will come until the Day of Resurrection.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 871