In the following verses, the word ummi is used for our Prophet.
“"Those who follow the Messenger, the unlettered prophet, whom they find mentioned in their own (Scriptures);― in the Law and the Gospel;― for he commands them what is just and forbids them what is evil … Say: "O men! I am sent unto you all, as the Messenger of Allah, to Whom belongeth the dominion of the heavens and the earth: there is no god but He: it is He that giveth both life and death. So believe in Allah and His Messenger, the unlettered Prophet, who believed in Allah and His words: follow him that (so) ye may be guided."”(al-Araf, 2/157-158).
In the following verse, it is emphasized that Hazrat Prophet could not read and write and it is pointed out that the attribute ummi used for him has the same meaning: “And thou wast not (able) to recite a Book before this (Book came) nor art thou (able) to transcribe it with thy right hand: in that case, indeed, would the talkers of vanities have doubted.”(al-Ankabut, 29/48).
Was our Prophet illiterate? What does illiterate prophet mean? If he could not read and write, how did he read? | Questions on Islam
“"Those who follow the Messenger, the unlettered prophet, whom they find mentioned in their own (Scriptures);― in the Law and the Gospel;― for he commands them what is just and forbids them what is evil … Say: "O men! I am sent unto you all, as the Messenger of Allah, to Whom belongeth the dominion of the heavens and the earth: there is no god but He: it is He that giveth both life and death. So believe in Allah and His Messenger, the unlettered Prophet, who believed in Allah and His words: follow him that (so) ye may be guided."”(al-Araf, 2/157-158).
In the following verse, it is emphasized that Hazrat Prophet could not read and write and it is pointed out that the attribute ummi used for him has the same meaning: “And thou wast not (able) to recite a Book before this (Book came) nor art thou (able) to transcribe it with thy right hand: in that case, indeed, would the talkers of vanities have doubted.”(al-Ankabut, 29/48).
Was our Prophet illiterate? What does illiterate prophet mean? If he could not read and write, how did he read? | Questions on Islam