Is it a sin to have thoughts which are not appropriate to your religion? Is having such a thought equal to acting upon it? For example, if you think about drinking alcohol, yet your religion prohibits it (Islam), is it the same as actually going ahead and drinking the alcohol? If the answer is no, that thought doesn't equal action, then is having thoughts such as those, permitted to have in your religion? Since we know that thought can lead to temptation which can lead to action. So does it boil down to "thoughts of sin are actually a sin?"