Musnad Ahmad 157
It was narrated that Anas said:
Umar said: I agreed with my Lord on three matters, I said: O Messenger of Allah (ﷺ) , why don't we take the Maqam of Ibraheem as a place of prayer? Then the verse was revealed: ` And take you(people) the Maqam (place) of Ibraheem (Abraham) [ or the stone on which Ibraheem (Abraham) stood while he was building the Kabah]as a place of prayer` [al Baqarah 2:125]. And I said: O Messenger of Allah (ﷺ) , both righteous and evil doers enter your wives, so why don't you tell them to observe the hijab? Then the verse of hijab was revealed. And the wives of the Messenger of Allah ﷺ got together as a result of the jealousy between them, and I said to them. ` 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], and it was revealed like that.
حَدَّثَنَا هُشَيْمٌ، أَنْبَأَنَا حُمَيْدٌ، عَنْ أَنَسٍ، قَالَ قَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ وَافَقْتُ رَبِّي فِي ثَلَاثٍ قُلْتُ يَا رَسُولَ اللَّهِ لَوْ اتَّخَذْنَا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى فَنَزَلَتْ ‏{‏وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى‏}‏ وَقُلْتُ يَا رَسُولَ اللَّهِ إِنَّ نِسَاءَكَ يَدْخُلُ عَلَيْهِنَّ الْبَرُّ وَالْفَاجِرُ فَلَوْ أَمَرْتَهُنَّ أَنْ يَحْتَجِبْنَ فَنَزَلَتْ آيَةُ الْحِجَابِ وَاجْتَمَعَ عَلَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ نِسَاؤُهُ فِي الْغَيْرَةِ فَقُلْتُ لَهُنَّ ‏{‏عَسَى رَبُّهُ إِنْ طَلَّقَكُنَّ أَنْ يُبْدِلَهُ أَزْوَاجًا خَيْرًا مِنْكُنَّ‏}‏ قَالَ فَنَزَلَتْ كَذَلِكَ‏.‏