Sahih Muslim
The Book Pertaining to Piety and Softening of Hearts (Kitab Al-Zuhd wa Al-Raqaiq)
Book Number: 042 / Hadith Number: 7060
Jabir reported Allah's Apostle (may peace be upon him) narrating a hadith like this with a slight variation of wording.