Sunan an-Nasa'i, Book 20, Hadith 97 (Nasa'i 1699)

It was narrated from Abdullah bin 'Umar that:

A man asked the Messenger of Allah (ﷺ) about prayer at night and the Messenger of Allah (ﷺ) said: "Prayer at night is two by two, then if one of you fears that dawn will break, pray one rak'ah to make the total number that he prayed odd."