Sahih Muslim, Book 44, Hadith 281 (Muslim 6384)

The other hadith has been transmitted on the authority of Abu Huraira with a slight variation of wording.