It is narrated from Sayyiduna Abu Bakrah (may Allah be pleased with him) that indeed the Prophet (peace and blessings be upon him) said: "Obscenity is part of bad character."
Hadith Referenceمسند الشهاب / 27
Hadith Gradingمحدثین:صحيح
Hadith Takhrij«صحيح ، ابن ماجه : 4184 ، ترمذي : 2009 ، سنن النسائي الصغرى: 2009 ، وأحمد فى «مسنده» برقم: 10661، عن ابي هريرة ، أخرجه ابن حبان فى «صحيحه» برقم: 5704، والحاكم فى «مستدركه» برقم: 171، والطبراني فى«الكبير» برقم: 409، والطبراني فى «الأوسط» برقم: 5055، 8607، والطبراني فى «الصغير» برقم: 1091، والطحاوي فى «شرح مشكل الآثار» برقم: 3206»
Brief Explanation
Explanation— Whoever is reckless with his tongue, uttering every evil and obscene word without hesitation, constantly engaging in abuse and foul language, then know that such a person is devoid of modesty and shame, and possesses nothing of good character. For if he had good character within him, he would use his tongue thoughtfully and with consideration. Therefore, it is stated that obscene speech and foul language are signs of bad character and are a part of it.