Source: Sunan Ibn Majah, hadith n° 181
Abu Razin reported: The Messenger of Allah, peace and blessings be upon him, said, “Allah laughs at 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!”