I was following ˹behind˺ the Prophet ﷺ then he said to me, "Young boy" or "Little boy, should I not teach you words that Allah will benefit you with?" I said: Of course. So he said, "(1) Be mindful of Allah and He will protect you, (2) be mindful of Allah and you will find Him in front of you, (3) get to know him in times of ease, and he will know you (be with you) at times of difficulty, (4) if you ask, then ask Allah, (5) and if you seek help, then seek help from Allah."
"(6) The pen of ˹Divine Decree˺ has dried for what is to be. Thus if all creation put together intends to benefit you for a thing that has not been decreed for you by Allah they will not be able to so, and if they intend to harm you for a thing that has not been decreed for you by Allah, they will not be able to so. And (7) know that showing patience over what you dislike has much good in it, and that help goes along with patience, relief goes along with grief, and that there is ease along with difficulty."
كُنْتُ رَدِيفَ رَسُولِ اللهِ ﷺ فَقَالَ: «يَا غُلامُ» أَوْ «يَا غُلَيِّمُ، أَلا أُعَلِّمُكَ كَلِمَاتٍ يَنْفَعُكَ اللهُ بِهِنَّ؟ فَقُلْتُ: بَلَى۔ فَقَالَ: (١) احْفَظِ اللهَ يَحْفَظْكَ، (٢) احْفَظِ اللهَ تَجِدْهُ أَمَامَكَ، (٣) تَعَرَّفْ إِلَيْهِ فِي الرَّخَاءِ يَعْرِفْكَ فِي الشِّدَّةِ، (٤) وَإِذَا سَأَلْتَ فَاسْأَلِ اللهَ، (٥) وَإِذَا اسْتَعَنْتَ فَاسْتَعِنْ بِاللهِ۔»
«(٦) قَدْ جَفَّ الْقَلَمُ بِمَا هُوَ كَائِنٌ۔ فَلَوْ أَنَّ الْخَلْقَ كُلَّهُمْ جَمِيعًا أَرَادُوا أَنْ يَنْفَعُوكَ بِشَيْءٍ لَمْ يَكْتُبْهُ اللهُ عَلَيْكَ لَمْ يَقْدِرُوا عَلَيْهِ، وَإِنْ أَرَادُوا أَنْ يَضُرُّوكَ بِشَيْءٍ لَمْ يَكْتُبْهُ اللهُ عَلَيْكَ لَمْ يَقْدِرُوا عَلَيْهِ۔ (٧) وَاعْلَمْ أنَّ فِي الصَّبْرِ عَلَى مَا تَكْرَهُ خَيْرًا كَثِيرًا، وَأَنَّ النَّصْرَ مَعَ الصَّبْرِ، وَأَنَّ الْفَرَجَ مَعَ الْكَرْبِ، وَأَنَّ مَعَ الْعُسْرِ يُسْرًا۔»