Alqamah bin Waqqas (may Allah have mercy on him) says that a jesting man used to go to the rulers to make them laugh. My grandfather said to him: Woe to you, O so-and-so! Why do you go to these (rulers) to make them laugh? For I heard Bilal bin al-Harith al-Muzani (may Allah be pleased with him), the Companion of the Messenger (peace and blessings be upon him), narrating from the Prophet (peace and blessings be upon him) that the Prophet (peace and blessings be upon him) said: "A servant speaks a word that pleases Allah, not thinking that it will reach the extent it reaches, and because of it Allah will be pleased with him until the Day he meets Him; and a servant speaks a word that angers Allah, not thinking that it will reach the extent it reaches, and because of it Allah will be angry with him until the Day he meets Him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قتال أهل البغي / 16666