Musnad Ahmad 2763
Grading supplied with this record: A saheeh hadeeth]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
Ibn ‘Abbas (ﷺ) said: I was seated behind the Prophet (ﷺ) on his mount and he said to me:
"O boy, I will teach you some words: be mindful of Allah and Allah will take care of you; be mindful of Allah and you will find Him in front of you; if you ask, ask of Allah, and if you seek help, seek help from Allah. The pens have been lifted and the pages have dried. If the nation wanted to benefit you with anything that Allah has not decreed for you, they would never be able to do that, and if they wanted to harm you with anything that Allah has not decreed for you, they would never be able to do it.
Full reference and source
Musnad Ahmad 2763 Arabic/English book : Book 25, Hadith 2763
View source on Sunnah.com (opens in a new tab)