Hadith 271

Bulugh al-Maram

Book 2: The Book of Prayer
وَعَنْ اِبْنِ عُمَرَ ‏-رَضِيَ اَللَّهُ عَنْهُمَا‏- قَالَ : قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ صَلَاةُ اَللَّيْلِ مَثْنَى مَثْنَى , فَإِذَا خَشِيَ أَحَدُكُمْ اَلصُّبْحِ صَلَّى رَكْعَةً وَاحِدَةً , تُوتِرُ لَهُ مَا قَدْ صَلَّى } مُتَّفَقٌ عَلَيْهِ .‏ 1‏
Ibn 'Umar (RA):

Allah's Messenger (ﷺ) said: "The (voluntary) night prayers are two Rak'at, two Rak'at (in pairs), and if one fears that the dawn prayer is due, he should then offer one Rak'at which will make what he has prayed an odd number." [Agreed upon).