Hadith on Laughter: Why have you made My servants despair?

Abu Huraira reported: The Prophet, peace and blessings be upon him, came to his companions while they were laughing and talking. The Prophet said, “By the one in whose hand is my soul, if you knew what I knew, you would laugh little and weep often.” The Prophet departed and the people started weeping, so Allah Almighty revealed to him, “O Muhammad, why have you made my servants despair?” The Prophet returned and he said, “Give glad tidings, follow the right course, and seek nearness to Allah.”

Source: al-Adab al-Mufrad 254

Grade: Sahih (authentic) according to Al-Albani

عَنْ أَبِي هُرَيْرَةَ قَالَ‏ خَرَجَ النَّبِيُّ صلى الله عليه وسلم عَلَى رَهْطٍ مِنْ أَصْحَابِهِ يَضْحَكُونَ وَيَتَحَدَّثُونَ فَقَالَ‏ وَالَّذِي نَفْسِي بِيَدِهِ لَوْ تَعْلَمُونَ مَا أَعْلَمُ لَضَحِكْتُمْ قَلِيلاً وَلَبَكَيْتُمْ كَثِيرًا ثُمَّ انْصَرَفَ وَأَبْكَى الْقَوْمَ وَأَوْحَى اللَّهُ عَزَّ وَجَلَّ إِلَيْهِ‏ يَا مُحَمَّدُ لِمَ تُقَنِّطُ عِبَادِي‏ فَرَجَعَ النَّبِيُّ صلى الله عليه وسلم فَقَالَ‏ أَبْشِرُوا وَسَدِّدُوا وَقَارِبُوا

255 الأدب المفرد البخاري باب الضحك

191 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الأدب المفرد