Bulugh al-Maram
The Book of Prayer — Hadith #446
وَعَنْ اِبْنِ عُمَرَ -رَضِيَ اَللَّهُ عَنْهُمَا- قَالَ : قَالَ رَسُولُ اَللَّهِ - صلى الله عليه وسلم -{ صَلَاةُ اَللَّيْلِ مَثْنَى مَثْنَى , فَإِذَا خَشِيَ أَحَدُكُمْ اَلصُّبْحِ صَلَّى رَكْعَةً وَاحِدَةً , تُوتِرُ لَهُ مَا قَدْ صَلَّى } مُتَّفَقٌ عَلَيْهِ . 11 - صحيح . رواه البخاري ( 990 ) ، ومسلم ( 749 ) ، وتحرف في " أ " : " ابن عمر " إلى : " أبي عمر " .
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).