Related Rule
Islamic Republic of Iran
Practice Relating to Rule 101. The Principle of Legality
The Islamic Republic of Iran’s Islamic Penal Code (1982) states:
No punishment shall be awarded for the commission or omission of an act in accordance with a law passed subsequent to the act. In case, however, a law is framed subsequent to the commission of an offence which involves mitigation or abolition of the punishment or is favourable to the offender, it shall be applicable to the offences which were committed before the law was framed and in whose case no final judgement has been issued by the court. 
Islamic Republic of Iran, Islamic Penal Code, 1982, Section 6.