Sunan an-Nasa'i, Book 13, Hadith 68 (Nasa'i 1248)

It was narrated that 'Abdullah said:

"Whoever has doubt, or is not sure, let him estimate what is correct, then let him prostrate twice."