https://www.scconline.com/blog/post/2018/11/27/an-fir-can-be-quashed-only-in-order-to-prevent-abuse-of-process-of-law-or-to-secure-the-ends-of-justice/
An FIR can be quashed only in order to prevent abuse of process of law or to secure the ends of justice