[Machine] The Messenger of Allah ﷺ said: "A believer is not one who utters obscenities or curses or is vulgar or obscene." It is narrated from Alqamah from Abdullah from the Prophet ﷺ that he said something similar to this.
قَالَ رَسُولُ اللهِ ﷺ لَيْسَ الْمُؤْمِنُ بِالطَّعَّانِ وَلَا اللَّعَّانِ وَلَا الْفَاحِشِ وَلَا الْبَذِيءِ وَرُوِيَ عَنْ عَلْقَمَةَ عَنْ عَبْدِ اللهِ عَنِ النَّبِيِّ ﷺ مِثْلُهُ