It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that once the Noble Prophet (peace and blessings be upon him) said: "The night prayer consists of two rak'ahs at a time, and when you fear that dawn is approaching, then add one rak'ah to these two, for indeed Allah is Odd and He loves the odd number."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6439
Hadith Gradingحکم دارالسلام:حديث صحيح لغيره، وهذا إسناد ضعيف لضعف عطية بن سعد العوفي، قوله: «صلاة الليل مثني مثني، فإذا خفت الصبح فواحدة» سلف بإسناد صحيح برقم: 4492