Hadithcore
Sahih al-Bukhari, 4790
sahih

Narrated `Umar:

I said, "O Allah's Messenger (ﷺ) ! 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.

حَدَّثَنَا مُسَدَّدٌ، عَنْ يَحْيَى، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ، قَالَ قَالَ عُمَرُ ـ رضى الله عنه ـ قُلْتُ يَا رَسُولَ اللَّهِ، يَدْخُلُ عَلَيْكَ الْبَرُّ وَالْفَاجِرُ، فَلَوْ أَمَرْتَ أُمَّهَاتِ الْمُؤْمِنِينَ بِالْحِجَابِ، فَأَنْزَلَ اللَّهُ آيَةَ الْحِجَابِ‏.‏

References2 variants
In-Book Reference
Book 65, Hadith 312
USC-MSA web (English) reference
Vol. 6, Book 60, Hadith 313 (deprecated numbering scheme)