Narrated Imran ibn Husayn:
The Prophet (ﷺ) led them in prayer and forgot something, so he made prostrations and uttered the tashahhud, then gave the salutation.