Additional District Sessions Judge Mumtaz Ali acquitted the former Imam of Bijnor's Jama Masjid, Maulana Anwarul Haq, due to lack of evidence.
According to the prosecution counsel, the court has ordered police to register the case against four people, including the Muzaffarnagar-based woman and her husband, for giving false evidence in court.
The Imam had been booked last August after the woman alleged that he raped her on the pretext of "protecting her from evil spirits".