As a result of this same fine behavior...
As a result of this same fine behavior, people accepted his claim of prophethood and brought faith upon him. Religion of Muhammad (S) before being vested with the office of prophethood The question which arises at this juncture is that whether The Holy (S) believed in religion and Shariah before being vested with the office of prophethood? And if he had faith; which religion did he follow?
Before that it is necessary to mention that regretfully we don’t have anything in history and Islamic sources which can clearly oppose this matter, but it is possible to mention some points as historical evidences. For example, Abul Fida writes: It was the practice of the Messenger of Allah (S) that one month every year he used to go the Cave of Hira and engage in worship there. Quraish also performed this act during the period of Ignorance.
They gave food to every mendicant who came to their town. After the worship rituals, before entering his house, he used to circumambulate the Kaaba.[^9] Ghyath ibn Ibrahim has narrated from Imam Ja’far Sadiq (a.s.) that he said: The Holy Prophet, after coming to Medina performed the Hajj only once.
But he performed the Hajj rituals in Mecca along with his relatives a number of times.[^10] It is also mentioned that Muhammad (S) prayed the ritual prayer at the age of four years.[^11] His uncle, Abu Talib also described the childhood of Muhammad in the same way: He recited ‘In the name of Allah’, before dinner and uttered ‘praise be to Allah’ after it.[^12] From such descriptions that are mentioned about His Eminence, it can be concluded that before being vested with the office of prophethood, he used to perform worship rituals, perform the ritual prayer and spend a month every year at the cave of Hira; he performed the rituals of Hajj, circumambulated the Kaaba and recited ‘In the name of Allah’ before eating; thus it can be seen that he was a religious person, who observed worship rituals diligently.
Moreover, in the discussion of infallibility, it was proved that prophets are immune from infidelity, polytheism and sins, throughout their lives. Hence it should be said that the Prophet of Islam also before his being vested with the office of prophethood was religious, because infidelity and polytheism are not compatible with his infallibility. Quran has also absolutely negated deviation and infidelity for the Holy Prophet (S) even before he was vested with the office of prophethood.