حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، قَالَ: حَدَّثَنَا أَبُو بَكْرٍ، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ قَالَ: قَالَ رَجُلٌ عِنْدَ النَّبِيِّ صلى الله عليه وسلم: اللَّهُمَّ لَمْ تُعْطِنِي مَالاً فَأَتَصَدَّقَ بِهِ، فَابْتَلِنِي بِبَلاَءٍ يَكُونُ، أَوْ قَالَ: فِيهِ أَجْرٌ، فَقَالَ: سُبْحَانَ اللهِ، لاَ تُطِيقُهُ، أَلاَ قُلْتَ: اللَّهُمَّ آتِنَا فِي الدُّنْيَا حَسَنَةً، وَفِي الْآخِرَةِ حَسَنَةً، وَقِنَا عَذَابَ النَّارِ.
Anas (ra) said that a man made this supplication in the presence of the Prophet (ﷺ) "O Allah, you have not bestowed upon me wealth so I cannot give Sadaqah, hence involve me in anxiety so that I may earn reward against that. The prophet said," Subhan Allah! You cannot endure difficulty. Why did you not make this supplication?:
(O Allah, let us have the good of this world and the good of the hereafter and save us from the torment of the fire).
Reported by Al-Bukhari (No. 4522, 6389), Muslim (No. 2688a, 2688b, 2690a, 2690b), Abu Dawud (No. 1519), At-Tirmidhi (No. 3487) and Ahmad (No. 11543, 11607, 12687, 12709, 13091, 13426, 13553). Cited in Al-Adab al-Mufrad (No. 727).