Section 235(2) in The Code of Criminal Procedure, 1973
(2)If the accused is convicted, the Judge shall, unless he proceeds in accordance with the provisions of Section 360, hear the accused on the question of sentence, and then pass sentence on him according to law.