“A woman used to perform prayer behind the Prophet ﷺ, and she was one of the most beautiful of people. Some of the people used to go into the first row so that they would not see her, and some of them used to lag behind so that they would be in the last row, and when they bowed, they would do like this so that they could see her from beneath their armpits. Then Allah revealed: “And indeed, We know the first generations of you who had passed away, and indeed, We know the present generations of you (mankind), and also those who will some afterwards.” [15:24] concerning her matter. (Using translation from Ibn Mājah 1046)
كَانَتِ امْرَأَةٌ حَسْنَاءُ تُصَلِّي خَلْفَ رَسُولِ اللهِ ﷺ قَالَ فَكَانَ بَعْضُ الْقَوْمِ يَسْتَقْدِمُ فِي الصَّفِّ الْأَوَّلِ لِئَلا يَرَاهَا وَيَسْتَأْخِرُ بَعْضُهُمْ حَتَّى يَكُونَ فِي الصَّفِّ الْمُؤَخَّرِ فَإِذَا رَكَعَ نَظَرَ مِنْ تَحْتِ إِبْطَيْهِ فَأَنْزَلَ اللهُ فِي شَأْنِهَا {وَلَقَدْ عَلِمْنَا الْمُسْتَقْدِمِينَ مِنْكُمْ وَلَقَدْ عَلِمْنَا الْمُسْتَأْخِرِينَ} [الحجر 24]