[Machine] The Messenger of Allah ﷺ passed by a group of his companions while something amusing was happening to them, so he said, "Are you laughing while the mention of Paradise and Hell is right before you?" Then, this verse was revealed: "Inform My servants that it is I who am the Forgiving, the Merciful. And that it is My punishment which is the painful punishment."
قال مَرَّ رَسُولُ اللهِ ﷺ بِنَفَرٍ مِنْ أَصْحَابِهِ وَقَدْ عَرَضَ لَهُمْ شَىءٌ أَضْحَكَهُمْ فَقَالَ «أَتَضْحَكُونَ وَذِكْرُ الْجَنَّةِ وَالنَّارِ بَيْنَ أَيْدِيكُمْ» فَنَزَلَتْ هَذِهِ الْآيَةُ {نَبِّئْ عِبَادِي أَنِّي أَنَا الْغَفُورُ الرَّحِيمُ وَأَنَّ عَذَابِي هُوَ الْعَذَابُ الْأَلِيمُ}