حَدَّثَنَا زُهَيْرٌ ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ ، حَدَّثَنَا لَيْثٌ ، عَنْ قَيْسِ بْنِ الْحَجَّاجِ ، عَنْ حَنَشٍ الصَّنْعَانِيِّ ، عَنْ عَبْدِ اللهِ بْنِ عَبَّاسٍ ، أَنَّهُ حَدَّثَ أَنَّهُ رَكِبَ خَلْفَ النَّبِيِّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - يَوْمًا ، فَقَالَ لَهُ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : يَا غُلَامُ ، إِنِّي مُعَلِّمُكَ كَلِمَاتٍ : احْفَظِ اللهَ يَحْفَظْكَ ، احْفَظِ اللهَ تَجِدْهُ تُجَاهَكَ ، وَإِذَا سَأَلْتَ فَاسْأَلِ اللهَ ، وَإِذَا اسْتَعَنْتَ فَاسْتَعِنْ بِاللهِ ، وَاعْلَمْ أَنَّ الْأُمَّةَ لَوِ اجْتَمَعُوا عَلَى أَنْ يَنْفَعُوكَ بِشَيْءٍ لَمْ يَنْفَعُوكَ إِلَّا بِشَيْءٍ قَدْ كَتَبَهُ اللهُ لَكَ ، وَلَوِ اجْتَمَعُوا عَلَى أَنْ يَضُرُّوكَ لَمْ يَضُرُّوكَ إِلَّا بِشَيْءٍ كَتَبَهُ اللهُ عَلَيْكَ ، رُفِعَتِ الْأَقْلَامُ وَجَفَّتِ الصُّحُفُ .
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that one day he was riding behind the Prophet (peace and blessings be upon him), and the Messenger of Allah (peace and blessings be upon him) said to him: "O boy, I will teach you some (important) words: Guard (the commands of) Allah, and Allah will guard you. Observe (the rights of) Allah, and you will find Him before you. When you ask, ask Allah alone, and when you seek help, seek help from Allah alone. Know for certain that if the whole Ummah were to gather together to benefit you with something, they could not benefit you except with what Allah has written for you; and if they all gathered together to harm you, they could not harm you except with what Allah has written against you (in destiny). The pens have been lifted and the pages have dried."