Code of Criminal Procedure, 1973
Chapter 18 Trial before a Court of Session
Section 227: Discharge
If, upon consideration of the record of the case and the documents submitted therewith, and after hearing the submissions of the accused and the prosecution in this behalf, the Judge considers that there is not sufficient ground for proceeding against the accused, he shall discharge the accused and record his reasons for so doing.