Abdullah bin Abbas reported,

There was a beautiful woman who used to pray behind the Messenger of Allah ﷺ. Some of the men would push forward into the first row so as not to see her, while others would hold back until they were in the last row, and then when such a man bowed he would look at her from under his armpit. So Allah عز وجل revealed concerning her, "And We surely know those among you who press forward, and We surely know those who hold back" [Hijr 15:24].

Ahmad 2783

Daif

حدثنا سريج حدثنا نوح بن قيس عن عمرو بن مالك النكري عن أبي الجوزاء

عن ابن عباس قال

كانت امرأة حسناء تصلي خلف رسول الله ﷺ قال فكان بعض القوم يستقدم في الصف الأول لئلا يراها ويستأخر بعضهم حتى يكون في الصف المؤخر فإذا ركع نظر من تحت إبطيه فأنزل الله عز وجل في شأنها {ولقد علمنا المستقدمين منكم ولقد علمنا المستأخرين}

أحمد 2783ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 2783
Ahmad 2783