A person starts prayer on pure doubt about whether the time has entered, then later learns that it had entered. What is the ruling taught here?

Prayer Conditions: Time, Intention, and the Opening Tahrimah