Jabir reported Allah's Apostle (ﷺ) narrating a hadith like this with a slight variation of wording. (ID)
Reference (ID): Sahih Muslim 2957 b (ID)
In-book reference (ID): Book 55, Hadith 3 (ID)
USC-MSA web (English) reference(deprecated numbering scheme): Book 42, Hadith 7060 (ID)