Nifty options settlement

Want to know how this particular option will get settled.
If nifty is at 23000 at 15:27 , and bought PE which is trading at say 5 , if now suddenly a 50 point fall comes and it closes at 22950 , will i not get 50*25 at settlement?
It wasn’t trading above 5 in the market but nifty closed 50 points below. I haven’t exited the position.
How much will i get?