Hadith 1247
Chapter 25: Estimating (what is most likely the case) - كتاب السهو
أَخْبَرَنَا سُوَيْدُ بْنُ نَصْرٍ، قَالَ أَنْبَأَنَا عَبْدُ اللَّهِ، عَنِ ابْنِ عَوْنٍ، عَنْ إِبْرَاهِيمَ، قَالَ كَانُوا يَقُولُونَ إِذَا أَوْهَمَ يَتَحَرَّى الصَّوَابَ ثُمَّ يَسْجُدُ سَجْدَتَيْنِ .
It was narrated that Ibrahim said:
"They used to say: 'If one is not sure of what he estimates is correct, then prostrate twice.'"
Reference : Sunan an-Nasa'i 1247
In-book reference : Book 13, Hadith 69