A'isha reported: The Messenger of Allah (ﷺ) said: He who finds a prostration before sunset or at dawn (prayer) before the rising (of the sun) he in fact finds that (prayer), and prostration implies a rak'ah.
Hadith ReferenceSahih Muslim / The Book of Mosques and Places of Prayer / Hadith: 609