Sunan Abu Dawud
1033
Daif+3

Narrated Abdullah ibn Ja'far: The Prophet (ﷺ) said: Anyone who is in doubt in his prayer should make two prostrations after giving the salutation

DaifAl-Albani
DaifMuhammad Muhyi Al-Din Abdul Hamid