ANSWER:

If you did not know about it until you had finished your prayer, you will be rewarded in Sha Allah.

QUESTION: If i get my period during prayer but i don’t know so i still continue the prayer does it mean i won’t get ajr for the prayer and my duas made during the prayer aren’t valid?