Sunan an-Nasa'i, Book 13, Hadith 69 (Nasa'i 1249)

It was narrated that Ibrahim said:

"They used to say: 'If one is not sure of what he estimates is correct, then prostrate twice.'"