Killing a Chameleon
The Messenger of Allah (sal Allahu alaihi wa sallam) said, “If anyone kills a chameleon with the first blow, a hundred good deeds will be recorded for him; less than that will be recorded for him if he kills it at the second blow, and still less rewards will be recorded for him if he kills it at the third blow.” [Sahih Muslim]
Here it is mentioned that the killing of a chameleon in one stroke is very commendable. Similar is the case for killing other harmful insects and reptiles such as scorpions and snakes. This shows that even a slight increase in good or bad actions will be counted and rewarded or punished as the case may be. It could be that the chameleon did, in fact, blow fire on Prophet Ibraheem (alaihis salam); or it could be that we are told to kill it due to the chameleon’s harmful nature. Allah knows best.
Actions are judged by the intentions behind performing them. If a person does good for the sake of being good or any other reason other than for Allah’s pleasure, then he or she has no reason to expect Allah (subhana wa ta’ala) to reward it. On the Day of Judgement our deeds will be weighed not counted. Deeds that were done purely for Allah’s pleasure will carry a lot of weight while good deeds done for other motives will be weightless.