I heard Allah's Messenger (ﷺ) a hadith like this.
Sahih Muslim Book 54, Hadith 96