It is narrated from Sayyiduna Sakhbarah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever is given and is grateful, is tested and is patient, does wrong and seeks forgiveness, and is wronged and forgives." Then he (peace and blessings be upon him) fell silent, so the Companions said: "O Messenger of Allah! What is there for him?" He (peace and blessings be upon him) said: "It is they who will have security, and they are the rightly guided."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6583