As he grew up, he was by Muhammad's side doing different services like fetching water for ablution (). He would pray () with Muhammad and follow him on his assemblies, journeys and expeditions. It is said that Muhammad would often draw him close, pat him on the shoulder and pray, "O God! Teach him (the knowledge of) the Book (Qur'an) ". Muhammad had also supplicated for him to attain discernment in religion. Ibn Abbas kept following Muhammad, memorizing and learning his teaching.