The Rulings of the shari'ah Apply Only to What Is Outwardly Visible
Another point can be mentioned here that leads some Muslims to the excessive use of takfir.
This is the failure to understand that rulings in Islam naturally apply only to what is outwardly visible and demonstrable. No one can know by himself what goes on in another person's heart, which is why every Muslim is obliged to judge only by what is apparent. For this reason, the rulings of the shari'ah are always based on perceptible actions and statements.
Thus, it is naturally possible that a person outwardly grows up as a Muslim in an Islamic society while, in reality, not having understood tawhid at all. Likewise, it is conceivable that such a person, due to his ignorance, eventually practises polytheism. However, as long as no one knows of this, other people can clearly regard the person only as a Muslim.
On the other hand, it may be that the person has not inwardly accepted Islam, even if he does not outwardly display this. In this case, Islam is rejected internally, while externally, the pretence of being a Muslim is maintained. Such a person is referred to in Islamic terminology as a munafiq / hypocrite. The phenomenon of the munafiq is frequently addressed in Islamic sources and is well known, which is why the term appears numerous times in the Qur'an.
In some hadiths, it is also indicated that there are certain signs that warn the Muslim to be cautious of hypocrisy. However, according to Islamic teaching, it is not permissible to accuse someone of kufr unless a clear action or statement of kufr has been observed from this person.
Additionally, in certain cases, it may be that the person said something that contradicts Islam but is excused due to ignorance – some brief remarks on this follow below.