Mishkat al-Masabih 2502
Anas told of God’s messenger visiting a Muslim who had become as weak as a chicken and asking him whether he had been accustomed to make any supplication to God or ask Him for anything. On his replying that he had, for he was accustomed to say, "O God, what Thou meanest to punish me with in the next world inflict on me beforehand in this world," God’s messenger said, “Glory be to God! You are not capable of it or able to endure it.” He then asked why he had not said, "O God bring us blessing in this world, blessing in the next, and guard us from the punishment of hell." [Anas] said:
The man used it in supplication to God, and God healed him. 

Muslim transmitted it.
وَعَنْ أَنَسٍ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَادَ رَجُلًا مِنَ الْمُسْلِمِينَ قَدْ خَفَتَ فَصَارَ مِثْلَ الْفَرْخِ فَقَالَ لَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «هَلْ كُنْتَ تَدْعُو اللَّهَ بِشَيْءٍ أَوْ تَسْأَلُهُ إِيَّاهُ؟» . قَالَ: نَعَمْ كُنْتُ أَقُولُ: اللَّهُمَّ مَا كُنْتَ مُعَاقِبِي بِهِ فِي الْآخِرَةِ فَعَجِّلْهُ لِي فِي الدُّنْيَا. فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: 
" سُبْحَانَ اللَّهِ لَا تُطِيقُهُ وَلَا تَسْتَطِيعُهُ أَفَلَا قُلْتَ: اللَّهُمَّ آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ ". قَالَ: فَدَعَا الله بِهِ فشفاه الله. رَوَاهُ مُسلم