Mu'awiyah Radiyallahu 'anhu narrates: I heard Nabi Sallallahu 'alaihi wasallam saying: The one for whom Allah intends good, He guides him towards the understanding of Deen. Indeed I am only a distributor and Allah is the One Who grants. (Bukhari: 71)
Note: The second sentence of the hadith means that Rasullullah
Sallallahu 'alaihi wasallam came as a distributor of knowledge and Allah
is the Bestower of understanding of this knowledge and helps in acting
upon it. (Mirqat)