Jami` at-Tirmidhi, Hadith 3381 ⓘ
Jabir narrated that : the Messenger of Allah said: “There is none who utters a supplication, except that Allah gives him what he asked, or prevents evil from him that is equal to it – as long as he does not supplicate for something evil, or the cutting of ties of the womb.”
حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا ابْنُ لَهِيعَةَ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " مَا مِنْ أَحَدٍ يَدْعُو بِدُعَاءٍ إِلاَّ آتَاهُ اللَّهُ مَا سَأَلَ أَوْ كَفَّ عَنْهُ مِنَ السُّوءِ مِثْلَهُ مَا لَمْ يَدْعُ بِإِثْمٍ أَوْ قَطِيعَةِ رَحِمٍ " . وَفِي الْبَابِ عَنْ أَبِي سَعِيدٍ وَعُبَادَةَ بْنِ الصَّامِتِ .
also referenced under: Book 48, Hadith 12 (In-Book) & Volume 6, Book 45, Hadith 3381 (DarusSalam)