Narrated Anas bin Malik (raa): I was ten years old when Allah’s Apostle (saws) arrived at Medina. My mother and aunts used to urge me to serve the Prophet (saws) regularly, and I served him for ten years.
When the Prophet (saws) died I was twenty years old, and I knew about the order of Al-Hijab (veiling of ladies) more than any other person when it was revealed.
It was revealed for the first time when Allah’s Apostle (saws) had consummated his marriage with Zainab bint Jahsh (raa).
When the day dawned, the Prophet (saws) was a bridegroom and he invited the people to a banquet, so they came, ate, and then all left except a few who remained with the Prophet (saws) for a long time.
The Prophet (saws) got up and went out, and I too went out with him so that those people might leave too.
The Prophet (saws) proceeded and so did I, till he came to the threshold of ‘Aisha’s dwelling place. Then thinking that these people have left by then, he returned and so did I along with him till he entered upon Zainab and behold, they were still sitting and had not gone.
So the Prophet (saws) again went away and I went away along with him. When we reached the threshold of ‘Aisha’s dwelling place, he thought that they had left, and so he returned and I too, returned along with him and found those people had left.
Then the Prophet (saws) drew a curtain between me and him, and the Verses of Al-Hijab 1 were revealed.
Wedlock, Marriage (Nikaah) – Sahih Bukhari: Volume 7, Book 62, Number 95
Al Ahzâb – Surah 33. The Clans, The Coalition
[33:59] “O Prophet! Tell thy wives and daughters, and the believing women, that they should cast their outer garments over their persons (when abroad): that is most convenient, that they should be known (as such) and not molested. And Allah is Oft-Forgiving, Most Merciful.”