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].
حدثنا سريج حدثنا نوح بن قيس عن عمرو بن مالك النكري عن أبي الجوزاء
كانت امرأة حسناء تصلي خلف رسول الله ﷺ قال فكان بعض القوم يستقدم في الصف الأول لئلا يراها ويستأخر بعضهم حتى يكون في الصف المؤخر فإذا ركع نظر من تحت إبطيه فأنزل الله عز وجل في شأنها {ولقد علمنا المستقدمين منكم ولقد علمنا المستأخرين}