Pushing the nail on your thumb against your front teeth and flicking it is an offensive gesture. It basically means "screw you”.
Avoid talking about Islamic religion in an insulting manner. Even slight criticism or humor is to be avoided at all costs.