Al-Hakam and Hammad say: In (the prostrations of) forgetfulness he is to recite the tashahhud, then give the salam.