The Messenger of Allah ﷺ said, "It is not befitting for a truthful person to be one who frequently curses."
أن رسول الله ﷺ قال: لا ينبغي لصديق أن يكون لعانا.
No references are available.
Muslim narrated it in the Book of Piety and Kinship (2597) through various routes from Ala bin Abdul-Rahman, who narrated that his father told him, from Abu Hurairah, and he related it.