On the authority of Ibn Abbas, who said, "One day I was behind (i.e. riding behind him on the same mount) the Prophet and he said to me: '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 nation were to gather together to benefit you with anything, it would benefit you only with something that Allah had already prescribed for you, and 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." (from Tirmidhi)