BOOK I-GENERAL PART
TITLE I-THE CRIMINAL LAW
SINGLE CHAPTER-GENERAL PRINCIPLES
Article 1
Principle of legality
1- An act may only be criminally punished if it was determined punishable by law before the act was committed.
2- Security measures may only be applied to cases of perilousness, if its conditions are determined by law previous to its fulfilment.
3- An appeal to analogy is not permitted to qualify an act as criminal, to define a case of perilousness, or to determine a penalty or a corresponding security measure.
Nullum crimen sine lege
Nulla poena sine lege
EDIT.