Sahih Muslim, Book 6, Hadith 294 (Muslim 1849)

Qatada said:

I heard Anas saying that the Messenger of Allah (ﷺ) said to Ubayy the same thing.