Suhayb reported,

The Messenger of Allah ﷺ said, "How wonderful is the affair of the believer! All of his affairs are good, and this is not the case for anyone except the believer. If something pleasing happens to him, he gives thanks, and that is good for him. If something harmful befalls him, he endures it patiently, and that too is good for him."

Muslim 7500

Sahih

حدثنا هداب بن خالد الأزدي وشيبان بن فروخ جميعا عن سليمان بن المغيرة واللفظ لشيبان حدثنا سليمان حدثنا ثابت عن عبد الرحمن بن أبي ليلى

عن صهيب قال

قال رسول الله ﷺ عجبا لأمر المؤمن إن أمره كله خير وليس ذاك لأحد إلا للمؤمن إن أصابته سراء شكر فكان خيرا له وإن أصابته ضراء صبر فكان خيرا له

مسلم 7500صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Asceticism and heart-softening matters
Chapter
Believer's affair is entirely good
Numbering
Darussalam 7500
Muslim 7500