(13) The Book of Forgetfulness (In Prayer)
كتاب السهو
(17) Chapter: Clearing the throat while praying
(17) باب التَّنَحْنُحِ فِي الصَّلاَةِ
Sunan an-Nasa'i 1212 
It was narrated that 'Ali said:
"I had two times when I would enter upon the Messenger of Allah (ﷺ), one at night and one during the day. When I entered at night he would clear his throat (to tell me to come in)."
أَخْبَرَنِي مُحَمَّدُ بْنُ عُبَيْدٍ، قَالَ حَدَّثَنَا ابْنُ عَيَّاشٍ، عَنْ مُغِيرَةَ، عَنِ الْحَارِثِ الْعُكْلِيِّ، عَنِ ابْنِ نُجَىٍّ، قَالَ قَالَ عَلِيٌّ كَانَ لِي مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم مَدْخَلاَنِ مَدْخَلٌ بِاللَّيْلِ وَمَدْخَلٌ بِالنَّهَارِ فَكُنْتُ إِذَا دَخَلْتُ بِاللَّيْلِ تَنَحْنَحَ لِي ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 1212
In-book reference : Book 13, Hadith 34
English translation : Vol. 2, Book 13, Hadith 1213