This includes outwardly prostrating to an idol to ingratiate oneself with the polytheists, gain standing with them, or obtain a share of their worldly wealth—even if one claims that this prostration is intended for Allah, or that one does not intend to prostrate to the idol. By doing so, one outwardly manifests disbelief without coercion and thus falls within the general scope of Allah Most High’s words:
“Whoever disbelieves in Allah after having believed—except one who is compelled while his heart remains firm in faith…” to the end of the verse. (1).
The third category (2): That which plainly entails and clearly indicates a lack of inward affirmation of the two testimonies of faith, even if one affirms them outwardly. This includes several matters, among them:
1 - Turning away from the religion of Islam, neither learning it nor acting upon it, and being indifferent to the obligations one neglects, the prohibited acts one commits, and the rulings of which one remains ignorant.
It should be understood that a person accountable under Islamic law does not escape the disbelief of turning away—which necessarily entails a lack of affirmation—merely by performing just any act