Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) said: "None of you should wait for the rising or the setting of the sun in order to pray."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4378