Is your friend a lady?
If yes, this is a clear cut offence of S. 77 of BNS i.e. Voyeurism. An FIR can be filed for this. There is no limitation period in Criminal Cases.
If not, the person could be held liable under S. 66E of IT Act for capturing images of private area of a person.