The World Federation One Stop Fiqh

Ruling 1193

If before one starts saying tashahhud, or before standing up in those rakʿahs that do not have tashahhud, he doubts whether or not he performed one or two sajdahs, and at the same time he has one of the doubts that is valid after completing two sajdahs, his prayer is invalid.