Abu Bakr bin Sulayman bin Abu Hathma reported,

He informed him that it had reached him that the Messenger of Allah ﷺ reported this account, and he did not perform the two prostrations that are made when one is in doubt, until the people met him.Ibn Shihab said, Saeed bin Musayab informed me of this account from Abu Hurairah. He also said, Abu Salama bin Abdul-Rahman, Abu Bakr bin Harith bin Hisham, and Ubaydullah bin Abdullah informed me of it.

Abu Dawud 1013

Sahih

حدثنا حجاج بن أبي يعقوب حدثنا يعقوب يعني ابن إبراهيم حدثنا أبي عن صالح عن ابن شهاب أن

أبا بكر بن سليمان بن أبي حثمة

أخبره أنه بلغه أن رسول الله ﷺ بهذا الخبر قال ولم يسجد السجدتين اللتين تسجدان إذا شك حتى لقاه الناس قال ابن شهاب وأخبرني بهذا الخبر سعيد بن المسيب عن أبي هريرة قال وأخبرني أبو سلمة بن عبد الرحمن وأبو بكر بن الحارث بن هشام وعبيد الله بن عبد الله

أبو داود 1013صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Forgetfulness in the two prostrations
Numbering
Darussalam 1013
Abu Dawud 1013