One day I was behind the Prophet (Sallallaahu ‘alaihi wasallam) and he said to me:
“O young man, I shall teach you some words [of advice]:
Be mindful of Allah, and Allah will protect you.
Be mindful of Allah, and you will find Him in front of you.
If you ask, ask of Allah;
if you seek help, seek help of Allah.
Know that if the Ummah (nation, group likewise) were to gather together to benefit you with anything, it would benefit you only with something that Allah had already prescribed for you, and that if they gather together to harm you with anything, they would harm you only with something Allah had already prescribed for you.
The pens have been lifted and the pages have dried.”
[ At Tirmidhi ]