Jabir reported Allah's Apostle (ﷺ) narrating a hadith like this with a slight variation of wording.
Sahih Muslim Book 55, Hadith 3