Sahih Muslim 749 f
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ صَلَّى فَلْيُصَلِّ مَثْنَى مَثْنَى فَإِنْ أَحَسَّ أَنْ يُصْبِحَ سَجَدَ سَجْدَةً فَأَوْتَرَتْ لَهُ مَا صَلَّى "
Ibn 'Umar reported:
A person called (the attention) of the Messenger of Allah (ﷺ) as he was in the mosque, and said: Messenger of Allah, how should I make the rak'ahs of the night prayer an odd number? Upon this the Messenger of Allah (way peace he upon him) said: He who prays (night prayer) he should observe it in pairs, but if he apprehends the rise of morning, he should observe one rak'ah; that would make the number odd (for the rak'ahs) observed by him. This was narrated by Abd Kuraib 'Ubaidullah b. 'Abdullah and Ibn 'Umar did not make mention of it.
Full reference and source
Sahih Muslim 749 f In-book : Book 6, Hadith 189 USC-MSA web (English) : Book 4, Hadith 1644 (deprecated)
View source on Sunnah.com (opens in a new tab)