Section 245(1) in The Code of Criminal Procedure, 1973
(1)If, upon taking all the evidence referred to in Section 244, the Magistrate considers, for reasons to be recorded, that no case against the accused has been made out which, if unrebutted, would warrant his conviction, the Magistrate shall discharge him.