It was narrated from Ibn Abbas that the Messenger of Allah said: "Whoever denies a Verse of the Qur'an, it is permissible to strike his neck (i.e., execute him). Whoever says,(None has the right to be worshiped but Allah alone, with no partner or associate, and Muhammad is His slave and Messenger), no one has any way of harming him, unless he (does something which) deserves a legal punishment, and it is carried out on him."