Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4790Musaddad > Yaḥyá > Ḥumayd > Anas > ʿUmar

I said, "O Messenger of Allah ﷺ! Good and bad persons enter upon you, so I suggest that you order the mothers of the Believers (i.e. your wives) to observe veils." Then Allah revealed the Verses of Al- Hijab.  

البخاري:٤٧٩٠حَدَّثَنَا مُسَدَّدٌ عَنْ يَحْيَى عَنْ حُمَيْدٍ عَنْ أَنَسٍ قَالَ قَالَ

عُمَرُ ؓ قُلْتُ يَا رَسُولَ اللَّهِ يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ فَلَوْ أَمَرْتَ أُمَّهَاتِ الْمُؤْمِنِينَ بِالْحِجَابِ فَأَنْزَلَ اللَّهُ آيَةَ الْحِجَابِ  


See similar narrations below:

Collected by Nasāʾī's Kubrá
nasai-kubra:11354Muḥammad b. al-Muthanná > Khālid > Ḥumayd > Anas

I said, "O Messenger of Allah ﷺ! Good and bad persons enter upon you, so I suggest that you order the mothers of the Believers (i.e. your wives) to observe veils." Then Allah revealed the Verses of Al- Hijab. (Using translation from Bukhārī 4790)   

الكبرى للنسائي:١١٣٥٤أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى قَالَ حَدَّثَنَا خَالِدٌ قَالَ حَدَّثَنَا حُمَيْدٌ أَنَّ أَنَسًا قَالَ

قَالَ عُمَرُ قُلْتُ «يَا رَسُولَ اللهِ يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ فَلَوْ حَجَبْتَ أُمَّهَاتِ الْمُؤْمِنِينَ فَأَنْزَلَ اللهُ ﷻ آيَةَ الْحِجَابِ»