Jabir reported Allah's Apostle (ﷺ) narrating a hadith like this with a slight variation of wording.
Reference: Sahih Muslim 2957 b
In-book reference: Book 55, Hadith 3
USC-MSA web (English) reference(deprecated numbering scheme): Book 42, Hadith 7060
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.