"The Messenger of Allah said: 'Allah laughs at the despair of His slaves although He soon changes it.' I said: 'O Messenger of Allah, does the Lord laugh?' He said: 'Yes.' I said: 'We shall never be deprived of good by a Lord Who laughs.'" (Using translation from Ibn Mājah 181)
قَالَ رَسُولُ اللهِ ﷺ ضَحِكَ رَبُّنَا مِنْ قُنُوطِ عَبْدِهِ وَقُرْبِ غِيَرِهِ قَالَ قُلْتُ يَا رَسُولَ اللهِ أَوَيَضْحَكُ الرَّبُّ ﷻ؟ قَالَ نَعَمْ قَالَ لَنْ نَعْدَمَ مِنْ رَبٍّ يَضْحَكُ خَيْرًا