Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: In the very first revelation to the Prophet (peace and blessings be upon him) it was said: Cover yourself. So after that, his (peace and blessings be upon him) 'awrah was never seen.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11601