Abu Hurairah (RA) reported the Prophet (SAW) as saying: If anyone pursues a path in search of knowledge, Allah will thereby make easy for him a path to paradise; and he who is made slow by his actions will not be speeded by his genealogy.
Sunan Abi Dawud 3643, Book 26, Hadith 3