Is there any precept in the divine law referring to temperance?
Yes, there are two precepts in the Decalogue that refer to temperance (CLXX.).
What are these two precepts?
They are the sixth and the ninth precepts: "Thou shalt not commit adultery," and "Thou shalt not covet thy neighbour's wife."
Why is only adultery spoken of? and why in the matter of adultery are there two distinct precepts in the Decalogue?
Because of the things that have to do with temperance, adultery brings man more into relation with his neighbour especially from the point of view of justice, which is precisely that of the precepts of the Decalogue; and the reason of the two distinct precepts with regard to this matter is due to the importance of preventing at its very source the great evil of adultery (CLXX. 1).
Next - The Catechism of the Summa - LVIII. OF THE PRECEPTS RELATING TO TEMPERANCE AND ITS PARTS (B)