Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: When this verse was revealed, «مَنْيَعْمَلْسُوءًايُجْزَبِهِ» (4-an-Nisa:123) "Whoever does evil will be recompensed for it," it became a great cause of concern for the Muslims. The Noble Prophet (peace and blessings be upon him) said: "Avoid excessiveness and remain upright, and receive glad tidings, for whatever distress befalls a believing servant, it becomes an expiation for him—even a thorn that pricks him or any difficulty he faces, that too becomes an expiation for his sins."
Hadith Referenceمسند الحميدي / 1182
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«إسناده صحيح وأخرجه مسلم فى «صحيحه» برقم: 2574، والنسائي فى «الكبریٰ» برقم: 11057، والترمذي فى «جامعه» برقم: 3038، والبيهقي فى«سننه الكبير» برقم: 6631، وأحمد فى «مسنده» برقم: 7503، وابن أبى شيبة فى «مصنفه» برقم: 10908»
Benefit: From this hadith, it is established that whoever commits a sin will certainly receive its punishment, as Allah the Exalted has said: ﴿وَمَنيَعْمَلْمِثْقَالَذَرَّةٍشَرًّايَرَهُ﴾ [99-الزلزلة:8] From this hadith, it is also understood that if a believer faces hardship, Allah the Exalted raises his ranks. It is also learned from this that, in times of difficulty, one should keep in view the blessings of Allah. Furthermore, it is understood from this that Allah does not wish to inflict even the pain of a thorn upon a believing servant.
Source: Musnad al-Humaydi: Commentary by Muhammad Ibrahim bin Bashir, Page: 1180
´Narrated Abu Hurairah:` "When the following was revealed: 'Whoever works evil will have the recompense of it... (4:123)' That worried the Muslims, so they complained about that to the Messenger of Allah (ﷺ) and he said: "Seek closeness and be steadfast, and in all that afflicts the believer there is atonement, even a thorn that pricks him, and the hardship he suffers."
Shaykh Dr. Abdur Rahman Freywai
Explanation: 1: “Whoever does evil will surely be recompensed for it” (an-Nisa: 123)
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 3038