Mishkat al-Masabih
Mishkat al-Masabih 2236
وَعَنْ جَابِرٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مِنْ أَحَدٍ يَدْعُو بِدُعَاءٍ إِلَّا آتَاهُ اللَّهُ مَا سَأَلَ أَوْ كَفَّ عَنْهُ مِنَ السُّوءِ مِثْلَهُ مَا لَمْ يَدْعُ بِإِثْمٍ أَوْ قَطِيعَةِ رحم» . رَوَاهُ التِّرْمِذِيّ
Jabir (may God be pleased with him) reported that the Messenger of God (peace be upon him) said: ‘There is no one who supplicates without God giving him what he asked for or turning away an equivalent harm from him, so long as he does not supplicate for sin or the severing of family ties.’ Al-Tirmidhi transmitted it. The Arabic source marks it as not studied by al-Albani.
Translation notes
The phrase ‘an equivalent harm’ renders like-for-like recompense in the wording مِنَ السُّوءِ مِثْلَهُ.