Sayyiduna Wabisah bin Ma'bad (may Allah be pleased with him) said: I was praying alone behind the row when the Prophet (peace and blessings be upon him) came, and he (peace and blessings be upon him) ordered me to repeat the prayer.
Hadith Referenceالمعجم الكبير للطبراني / باب الواو / 18616