The World Federation One Stop Fiqh

Ruling 1248

If after prayers one doubts whether or not he has made up a forgotten sajdah, in the event that the time for the prayer has not expired, he must make up the sajdah. In fact, even if the time has expired, he must, based on obligatory precaution, make it up.