The Messenger of Allah ﷺ said, "I marvel at Allah's decree for the believer. All of the believer's affairs are good, and this is true for no one except the believer. If something pleasing happens to him and he gives thanks, it is good for him, and if something harmful befalls him and he endures patiently, it is good for him."
حدثنا عبد الرحمن بن مهدي حدثنا سليمان بن المغيرة عن ثابت عن عبد الرحمن بن أبي ليلى
قال رسول الله ﷺ عجبت من قضاء الله للمؤمن إن أمر المؤمن كله خير وليس ذلك إلا للمؤمن إن أصابته سراء فشكر كان خيرا له وإن أصابته ضراء فصبر كان خيرا له