Sahih Muslim, Book 22, Hadith 165 (Muslim 4088)

Abu Qatada al-Ansari (Allah be pleased with him) reported he heard Allah's Messenger (ﷺ) say:

Beware of swearing; it produces a ready sale for a commodity, but blots out the blessing.