The Messenger of Allah (ﷺ) recited - Yahya (sub narrator) said: Sometimes al-Miswar said: I prayed along with the Messenger of Allah (ﷺ) and witnessed that he recited - the Qur'an during the prayer and omitted something (i.e. some verses inadvertently) which he did not recite.

A man said to him: Messenger of Allah, you omitted such-and-such verse. The Messenger of Allah (ﷺ) said: Why did you not remind me of it?

The narrator Sulayman said in his version: He (the man) said: I thought that it (the verse) was repealed.
Sunan Abi Dawud Book 2, Hadith 517