On the other hand, telling a lie may be recommended or even required if there is a definite gain to be achieved, for the Muslim community. Suppose a Muslim is questioned about the position of the Muslim army in time of war and he fears that the information he would give might be useful to the enemy, he may be duty bound to give false information in such situations. Certain sins are certainly much more serious than others. Associating partners with Allah is the most cardinal of sins. Adultery is more serious than fornication and theft incurs a much more severe punishment than drinking or gambling.
Perjury is a very serious crime.
Generally speaking, sins which affect others, or the society at large, are more serious than personal actions.