The Prophet (ﷺ) led them in prayer and forgot something, so he made prostrations and uttered the tashahhud, then gave the salutation. Sunan Abi Dawud Book 2, Hadith 650