A hadith like this has been transmitted on the authority of Ayyub with a slight variation of words.
Sahih Muslim Book 18, Hadith 11