“O Messenger of Allah, which supplication is the best?” He ﷺ said: “Ask Your Lord For Al-ʿĀfiyah and Al-Muʿāfāh in this world and in the Hereafter.” Then he came to him on the second day and said: “O Messenger of Allah, which supplication is the best?” So he ﷺ said to him similar to that. Then he came to him on the third day, so he ﷺ said to him similar to that. He ﷺ said: “So when you have been given Al-ʿĀfiyah in this world, and you have been given it in the Hereafter, then you have succeeded.”
أَنَّ رَجُلاً جَاءَ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ أَىُّ الدُّعَاءِ أَفْضَلُ قَالَ سَلْ رَبَّكَ الْعَافِيَةَ وَالْمُعَافَاةَ فِي الدُّنْيَا وَالآخِرَةِ ثُمَّ أَتَاهُ فِي الْيَوْمِ الثَّانِي فَقَالَ يَا رَسُولَ اللَّهِ أَىُّ الدُّعَاءِ أَفْضَلُ فَقَالَ لَهُ مِثْلَ ذَلِكَ ثُمَّ أَتَاهُ فِي الْيَوْمِ الثَّالِثِ فَقَالَ لَهُ مِثْلَ ذَلِكَ قَالَ فَإِذَا أُعْطِيتَ الْعَافِيَةَ فِي الدُّنْيَا وَأُعْطِيتَهَا فِي الآخِرَةِ فَقَدْ أَفْلَحْتَ قَالَ هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ إِنَّمَا نَعْرِفُهُ مِنْ حَدِيثِ سَلَمَةَ بْنِ وَرْدَانَ