عَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ عُمَرُ رَضِيَ اللَّهُ عَنْهُ وَافَقْتُ رَبِّي عَزَّ وَجَلَّ فِي ثَلَاثٍ أَوْ وَافَقَنِي رَبِّي فِي ثَلَاثٍ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ لَوِ اتَّخَذْتَ الْمَقَامَ مُصَلًّى قَالَ فَأَنْزَلَ اللَّهُ عَزَّ وَجَلَّ {وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى} [البقرة: 125] وَقُلْتُ لَوْ حَجَبْتَ عَنْ أُمَّهَاتِ الْمُؤْمِنِينَ فَإِنَّهُ يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ فَأُنْزِلَتْ آيَةُ الْحِجَابِ قَالَ وَبَلَغَنِي عَنْ أُمَّهَاتِ الْمُؤْمِنِينَ شَيْءٌ فَاسْتَقْرَأْتُهُنَّ أَقُولُ لَهُنَّ لَتَكُفُّنَّ عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَوْ لَيُبْدِلَنَّهُ اللَّهُ بِكُنَّ أَزْوَاجًا خَيْرًا مِنْكُنَّ مُسْلِمَاتٍ حَتَّى أَتَيْتُ عَلَى إِحْدَى أُمَّهَاتِ الْمُؤْمِنِينَ فَقَالَتْ يَا عُمَرُ أَمَا فِي رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مَا يَعِظُ نِسَاءَهُ حَتَّى تَعِظَهُنَّ فَكَفَفْتُ فَأَنْزَلَ اللَّهُ عَزَّ وَجَلَّ {عَسَى رَبُّهُ إِنْ طَلَّقَكُنَّ أَنْ يُبْدِلَهُ أَزْوَاجًا خَيْرًا مِنْكُنَّ مُسْلِمَاتٍ مُؤْمِنَاتٍ قَانِتَاتٍ} [التحريم: 5] الْآيَةَ
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that Sayyiduna Umar (may Allah be pleased with him) said: I have agreed with my Lord in three matters, or my Lord has agreed with me. I said: O Messenger of Allah! If you take the Maqam Ibrahim as a place of prayer, then this verse was revealed {وَاتَّخِذُوا مِنْ مَّقَامِ إِبْرَاہِیمَ مُصَلًّی} … "Take the Maqam Ibrahim as a place of prayer." I said: O Messenger of Allah! Good and bad people both enter upon your wives; if you order them to observe veiling, it would be better, so the verse of veiling was revealed. And when something concerning the Mothers of the Believers reached me, I looked into the matter with deep interest and said to them: Refrain from behaving in such a manner with the Messenger of Allah (peace and blessings be upon him), otherwise Allah, the Exalted, will replace you with better wives for him, who will be Muslims. When I went to one of the Mothers of the Believers, she said: O Umar! Do you advise the wives of the Messenger of Allah (peace and blessings be upon him)? Can the Messenger of Allah (peace and blessings be upon him) not do so himself? So I stopped, but then Allah, the Exalted, revealed this command: {عَسٰی رَبُّہٓ اِنْ طَلَّقَکُنَّ اَنْ یُّبْدِلَہٓ اَزْوَاجًا خَیْرًا مِّنْکُنَّ مُسْلِمٰتٍ مُّؤْمِنٰتٍ قٰنِتٰتٍ تٰئِبٰتٍ عٰبِدٰتٍ سٰئِحٰتٍ ثَیِّبٰتٍ وَّاَبْکَارًا} … "It may be, if he divorces you, that his Lord will give him in your place wives better than you—submissive, believing, devout, penitent, worshipping, fasting—previously married and virgins."