Musnad Ahmad 250
It was narrated that Anas said:
`Umar said: My opinion coincided with that of my Lord in three matters and my Lord confirmed my opinion in three matters. I said: O Messenger of Allah (ﷺ), why don`t you take Maqam Ibraheem as a place of prayer? Then Allah revealed the words: “And take you (people) the Maqam (place) of Ibraheem (Abraham) [or the stone on which Ibraheem (Abraham) to stood while he was building the Ka`bah] as a place of prayer” [al-Baqarah 2:125]. And I said: O Messenger of Allah (ﷺ), both righteous and immoral people enter upon you; why don`t you tell the Mothers of the Believers to observe hijab? Then Allah revealed the verse of hijab. And I heard that the Prophet (ﷺ) had rebuked some of his wives, so I sought permission to speak to the Mothers of the Believers, then I entered upon them and said to each one of them: By Allah, either you stop, or Allah will give His Messenger (wives) who are better than you. I went to one of his wives and she said: O ‘Umar, don`t you think that the Messenger of Allah (ﷺ) is able to exhort his wives? Why are you exhorting them? Then Allah revealed the words. It may be if he divorced you (all) that his Lord will give him instead of you, wives better than you` [at-Tahreem 66:5]
حَدَّثَنَا يَحْيَى، حَدَّثَنَا حُمَيْدٌ، عَنْ أَنَسٍ، قَالَ قَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ وَافَقْتُ رَبِّي فِي ثَلَاثٍ وَوَافَقَنِي رَبِّي فِي ثَلَاثٍ قُلْتُ يَا رَسُولَ اللَّهِ لَوْ اتَّخَذْتَ مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى فَأَنْزَلَ اللَّهُ ‏{‏وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى‏}‏ قُلْتُ يَا رَسُولَ اللَّهِ إِنَّهُ يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ فَلَوْ أَمَرْتَ أُمَّهَاتِ الْمُؤْمِنِينَ بِالْحِجَابِ فَأَنْزَلَ اللَّهُ آيَةَ الْحِجَابِ وَبَلَغَنِي مُعَاتَبَةُ النَّبِيِّ عَلَيْهِ السَّلَام بَعْضَ نِسَائِهِ قَالَ فَاسْتَقْرَيْتُ أُمَّهَاتِ الْمُؤْمِنِينَ فَدَخَلْتُ عَلَيْهِنَّ فَجَعَلْتُ أَسْتَقْرِيهِنَّ وَاحِدَةً وَاحِدَةً وَاللَّهِ لَئِنْ انْتَهَيْتُنَّ وَإِلَّا لَيُبَدِّلَنَّ اللَّهُ رَسُولَهُ خَيْرًا مِنْكُنَّ قَالَ فَأَتَيْتُ عَلَى بَعْضِ نِسَائِهِ قَالَتْ يَا عُمَرُ أَمَا فِي رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا يَعِظُ نِسَاءَهُ حَتَّى تَكُونَ أَنْتَ تَعِظُهُنَّ فَأَنْزَلَ اللَّهُ عَزَّ وَجَلَّ ‏{‏عَسَى رَبُّهُ إِنْ طَلَّقَكُنَّ أَنْ يُبْدِلَهُ أَزْوَاجًا خَيْرًا مِنْكُنَّ‏}‏‏.‏