Rony would rather that zahid had not lived in the room where the former studies.. correct the sentence
If Rony is female and Zahid is male, here's how I'd revise this sentence:
Rony would prefer that Zahid not live in the room where she studies.
Rony would prefer that Zahid not live in the room where she studies.