Abu Razin reported: The Messenger of Allah, peace and blessings be upon him, said, “Allah laughs for the despair of His servant, for He will soon relieve him.” I said, “O Messenger of Allah, does the Lord laugh?” The Prophet said, “Yes.” I said, “We will never be deprived of goodness by a Lord who laughs!”
Source: Sunan Ibn Mājah 181
Grade: Hasan li ghayrihi (fair due to external evidence) according to Al-Albani
عَنْ أَبِي رَزِينٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ضَحِكَ رَبُّنَا مِنْ قُنُوطِ عِبَادِهِ وَقُرْبِ غِيَرِهِ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ أَوَ يَضْحَكُ الرَّبُّ قَالَ نَعَمْ قُلْتُ لَنْ نَعْدَمَ مِنْ رَبٍّ يَضْحَكُ خَيْرًا
181 سنن ابن ماجه كتاب المقدمة باب فيما أنكرت الجهمية
2810 المحدث الألباني خلاصة حكم المحدث حسن بجموع الطرق في السلسلة الصحيحة