Sunan Abi Dawud 1326
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
صَلاَةُ اللَّيْلِ مَثْنَى مَثْنَى، فَإِذَا خَشِيَ أَحَدُكُمُ الصُّبْحَ صَلَّى رَكْعَةً وَاحِدَةً تُوتِرُ لَهُ مَا قَدْ صَلَّى "
Narrated 'Abdullah bin 'Umar:
A man asked the Messenger of Allah (ﷺ) about the prayer at night. The Messenger of Allah (ﷺ) said: Prayer during the night should consist of pairs of rak'ahs, but if one of you fears the morning is near he should pray one rak'ah which will make his prayer an odd number for him.
Full reference and source
Sunan Abi Dawud 1326 In-book : Book 5, Hadith 77 English translation : Book 5, Hadith 1321
View source on Sunnah.com (opens in a new tab)