Section 145(4) in The Code of Criminal Procedure, 1973
(4)The Magistrate shall then, without reference of the merits or the claims of any of the parties to a right to possess the subject of dispute, peruse the statements so put in, hear the parties, receive all such evidence as may be produced by them, take such further evidence, if any, as he thinks necessary, and, if possible, decide whether any and which of the parties was, at the date of the order made by him under sub-section (1), in possession of the subject of dispute :Provided that if it appears to the Magistrate that any party has been forcibly and wrongfully dispossessed within two months next before the date on which the report of a police officer or other information was received by the Magistrate, or after that date and before the date of his order under sub-section (1), he may treat the party so dispossessed as if that party had been in possession on the date of this order under sub-section (1).