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.
Sahih al-Bukhari Book 65, Hadith 312