Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:1766ʿAbdullāh b. Bakr > Ḥātim / Ibn Abū Ṣaghīrah > Baʿḍ Banī al-Muṭṭalib

[Machine] He came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, I am your uncle. I have become old and my death is approaching. Teach me something that Allah will benefit me with." He said, "O Abbas, you are my uncle and I cannot benefit you in anything from Allah. But ask your Lord for forgiveness and well-being in this world and the Hereafter." He said it three times. Then he came to him at the end of his life and said the same thing.  

أحمد:١٧٦٦حَدَّثَنَا عَبْدُ اللهِ بْنُ بَكْرٍ حَدَّثَنَا حَاتِمٌ يَعْنِي ابْنَ أَبِي صَغِيرَةَ حَدَّثَنِي بَعْضُ بَنِي الْمُطَّلِبِ قَالَ قَدِمَ عَلَيْنَا عَلِيُّ بْنُ عَبْدِ اللهِ بْنِ عَبَّاسٍ فِي بَعْضِ تِلْكَ الْمَوَاسِمِ قَالَ فَسَمِعْتُهُ يَقُولُ حَدَّثَنِي أَبِي عَبْدُ اللهِ بْنُ عَبَّاسٍ عَنْ أَبِيهِ الْعَبَّاسِ

أَنَّهُ أَتَى رَسُولَ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ أَنَا عَمُّكَ كَبِرَتْ سِنِّي وَاقْتَرَبَ أَجَلِي فَعَلِّمْنِي شَيْئًا يَنْفَعُنِي اللهُ بِهِ قَالَ يَا عَبَّاسُ أَنْتَ عَمِّي وَلا أُغْنِي عَنْكَ مِنَ اللهِ شَيْئًا وَلَكِنْ سَلْ رَبَّكَ الْعَفْوَ وَالْعَافِيَةَ فِي الدُّنْيَا وَالْآخِرَةِ قَالَهَا ثَلاثًا ثُمَّ أَتَاهُ عِنْدَ قَرْنِ الْحَوْلِ فَقَالَ لَهُ مِثْلَ ذَلِكَ