ʿUmar said, "I agreed with Allah in three things," or said, "My Lord agreed with me in three things. I said, 'O Messenger of Allah ﷺ! Would that you took the station of Abraham as a place of prayer.' I also said, 'O Messenger of Allah ﷺ! Good and bad persons visit you! Would that you ordered the Mothers of the believers to cover themselves with veils.' So the Divine Verses of Al-Hijab (i.e. veiling of the women) were revealed. I came to know that the Prophet ﷺ had blamed some of his wives so I entered upon them and said, 'You should either stop (troubling the Prophet ﷺ ) or else Allah will give His Apostle better wives than you.' When I came to one of his wives, she said to me, 'O ʿUmar! Does Messenger of Allah ﷺ haven't what he could advise his wives with, that you try to advise them?' " Thereupon Allah revealed:-- "It may be, if he divorced you (all) his Lord will give him instead of you, wives better than you Muslims (who submit to Allah).." (66.5)
عُمَرُ وَافَقْتُ اللَّهَ فِي ثَلاَثٍ أَوْ وَافَقَنِي رَبِّي فِي ثَلاَثٍ قُلْتُ يَا رَسُولَ اللَّهِ لَوِ اتَّخَذْتَ مَقَامَ إِبْرَاهِيمَ مُصَلًّى وَقُلْتُ يَا رَسُولَ اللَّهِ يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ فَلَوْ أَمَرْتَ أُمَّهَاتِ الْمُؤْمِنِينَ بِالْحِجَابِ فَأَنْزَلَ اللَّهُ آيَةَ الْحِجَابِ قَالَ وَبَلَغَنِي مُعَاتَبَةُ النَّبِيِّ ﷺ بَعْضَ نِسَائِهِ فَدَخَلْتُ عَلَيْهِنَّ قُلْتُ إِنِ انْتَهَيْتُنَّ أَوْ لَيُبَدِّلَنَّ اللَّهُ رَسُولَهُ ﷺ خَيْرًا مِنْكُنَّ حَتَّى أَتَيْتُ إِحْدَى نِسَائِهِ قَالَتْ يَا عُمَرُ أَمَا فِي رَسُولِ اللَّهِ ﷺ مَا يَعِظُ نِسَاءَهُ حَتَّى تَعِظَهُنَّ أَنْتَ فَأَنْزَلَ اللَّهُ {عَسَى رَبُّهُ إِنْ طَلَّقَكُنَّ أَنْ يُبَدِّلَهُ أَزْوَاجًا خَيْرًا مِنْكُنَّ مُسْلِمَاتٍ} الآيَةَ وَقَالَ ابْنُ أَبِي مَرْيَمَ أَخْبَرَنَا يَحْيَى بْنُ أَيُّوبَ حَدَّثَنِي حُمَيْدٌ سَمِعْتُ أَنَسًا عَنْ عُمَرَ