Hadith 1254

Ibn ‘Umar reported God’s Messenger as saying, “Prayer during the night should consist of pairs of rak'as, but if one of you fears the morning is near he should pray one rak'a which will make his prayer an odd number for him.” (Bukhari and Muslim.)

عَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ اللَّيْلِ مَثْنَى مَثْنَى فَإِذَا خَشِيَ أَحَدُكُمُ الصُّبْحَ صَلَّى رَكْعَةً وَاحِدَة توتر لَهُ مَا قد صلى»

Reference: 5612540
In-book reference: Book 4, Hadith 1254