The Prophet (ﷺ) prostrated after the salam when he was not sure.

Sunan an-Nasa'i Book 13 Hadith 57

Sunan an-Nasa'i #1235

The Book of Forgetfulness (In Prayer) 13:57

It was narrated from Abu Hurairah that :

The Prophet (ﷺ) prostrated after the salam when he was not sure.

Chapter: Mentioning the reports that differ from Abu Hurairah concerning the two prostrations

Grade: Sahih (Darussalam)