It is narrated from Hazrat Suhaib (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: I am amazed at the affairs of a Muslim, for there is nothing but goodness in his affairs, and this is a privilege granted to no one except a believer. If he receives something good, he is grateful, and that is entirely good for him; and if he is afflicted with hardship, he is patient, and that too is entirely good for him.
Hadith Referenceمسند احمد / تتمہ مُسْنَدِ الْكُوفِيِّينَ / 18934