If while standing up one doubts whether or not he performed sajdah or said tashahhud, he must dismiss his doubt.