This hadith has been transmitted on the authority of Anas with a slight variation of wording.
Sahih Muslim Book 35, Hadith 27