2.1. Infallibility in conveying the message of Allah, may He be glorified and exalted,
The prophets and messengers (peace be upon them) are protected from error in conveying the message of Allah, may He be glorified and exalted, so they did not make any mistakes when conveying the message; they did not forget anything or betray the trust or conceal anything. This is something that is proven according to the Qur’an, Sunnah and scholarly consensus. Allah, may He be glorified and exalted, enjoined that upon Muhammad (blessings and peace of Allah be upon him), as He said (interpretation of the meaning), "O Messenger, convey all that has been sent down to you from your Lord. If you do not do that, you will not have conveyed it at all." (al-Ma’idah 5:67)
Allah affirmed that His Prophet Muhammad (blessings and peace of Allah be upon him) was infallible in what he conveyed from his Lord Allah, may He be glorified and exalted, as He said (interpretation of the meaning), "Your companion has neither strayed nor erred, nor does he speak of his own accord; It is but divine inspiration." (al-Najm 53:2-4)
It was narrated that Talhah ibn ‘Ubaydillah said, "The Messenger of Allah (blessings and peace of Allah be upon him) said, 'If I narrate something to you from Allah, then adhere to it, for I will never tell lies about Allah (blessings and peace of Allah be upon him).'" (Muslim)
The nation unanimously agreed that the prophets and messengers (peace be upon them) are infallible in conveying the message. ‘Iyad said: “The ummah is unanimously agreed that with regard to what the Prophet (blessings and peace of Allah be upon him) conveyed from his Lord, he was infallible and protected from telling the people anything other than what it was, whether deliberately, intentionally, by mistake or in error.”
Al-Dhahabi said, “The scholars are agreed that the prophets and messengers were infallible in what they conveyed, because this was the purpose of sending the message to them.”
2.2. Protection from committing major and minor sins
The scholars unanimously agreed that the prophets were protected from committing major sins, but they differed as to whether they could commit minor sins.
‘Iyad said, “There is no difference of scholarly opinion regarding the fact that the prophets were protected against committing major sins.”
Al-Qurtubi said, “The scholars differed as to whether or not the prophets (peace be upon them) could commit minor sins for which they could be held accountable and be rebuked, although they were unanimously agreed that they were protected from committing major sins and any immoral actions that could be regarded as shameful and a defect in character.”
Ibn Taymiyah said, “The majority of scholars who say that it is possible for them to commit minor sins said that they are protected from persisting therein.”
The majority of scholars quoted a number of things as evidence that it is possible for the prophets (peace be upon them) to commit minor sins, including the following:
i. The fact that Adam (peace be upon him) committed the sin of eating from the tree from which Allah, may He be glorified and exalted, forbade him to eat. Allah, may He be glorified and exalted, says (interpretation of the meaning), "So they both ate from the tree, then their private parts became visible to them, so they began to put together leaves from the garden to cover themselves. Thus Adam disobeyed his Lord, and fell into error." (Ta-Ha 20:116-121)
ii. Allah, may He be glorified and exalted, rebuked his Prophet Muhammad (blessings and peace of Allah be upon him) for several things, including the following:
Allah, may He be glorified and exalted, rebuked him for frowning at Ibn Umm Maktum (may Allah be pleased with him) because he was busy calling the evil leaders of the disbelievers to Allah. Allah, may He be glorified and exalted, says (interpretation of the meaning), "He frowned and turned away, when the blind man came to him. How do you know? Perhaps he may be purified, or he may pay heed and benefit from the reminder." (‘Abasa 80:1-4)
A number of things should be noted in this context:
a. Allah, may He be glorified and exalted, alerted His messengers and prophets (peace be upon them) to whatever infractions they committed and prompted them to hasten to repent from them, without delay.
b. Sins that do not undermine perfection do not represent a shortcoming if the person repents from them; rather in many cases after repenting from a sin the individual will be better than he was before he committed the sin. One of the early generations said: “If repentance was not the most beloved of things to Allah, He could not have tested the dearest of creation to Him with sin.”
c. No prophet ever committed a sin but he hastened to repent and seek forgiveness for it.
Whenever the Holy Qur’an mentions a sin committed by a prophet, it is always followed by repentance and prayers for forgiveness:
Ibn Taymiyah said: “The blame and punishment that befall those who commit sins do not affect the one who repents from sin at all.” These minor sins that the prophets committed should not be taken as a reason to criticize them, for they are minor sins that are few in number, and Allah has already forgiven them. The prophets (peace be upon them) are deserving of love, honor and respect, and the Muslim should learn a lesson from that, for if Allah rebuked the noble messengers whom He chose for actions such as these, then the ordinary Muslim should be very careful and fear falling into sin, and he should follow the example of the messengers and prophets in hastening to repent to Allah and praying a great deal for His forgiveness.