الحديث الأول
The Amir al-Mu'minin Abu Hafs, 'Umar ibn al-Khattab رضي الله عنه said, " I heard the Messenger of Allah صلي الله عليه و سلم saying, 'Actions are only by intentions, and each man has only that which he intends. Whoever's emigration is for Allah and His Messenger, then his emigration is for Allah and His Messenger. Whoever's emigration is for some worldly gain which he can acquire or a woman he will marry, then his emigration is for that which he emigrates'."
To correct the intention is necessary for every student of knowledge. Whilst we study we should not merely gather information, like done academically. What use is information of the Qur'an and Sunnah if it doesn't guide you. Any information attained should be converted into knowledge by fully understanding it's meaning and implementing the rulings within ones life.
When attaining knowledge we all need to correct our intention and study for the right reason. Anything we do it must be for the sake and pleasure of Allah alone, not like those mentioned in the following hadeeth:
"Whoever seeks knowledge in order to compete with the scholars or to prove himself superior to the foolish or to make the people look up to him, Allah will cause him to enter Hell".
Narrated by al-Nasaa'i, 2654
It is said by some that every action carried out without the intention of Allah's pleasure, those actions are باطل, devoid of any reward. For this reason when scholars begin a book they should commence with this hadeeth.