This hadith is reported on the authority of Anas with a slight variation of wording.

Sahih Muslim Book 36, Hadith 162