عَنْ وَابِصَةَ بْنِ مَعْبَدٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: سُئِلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ عَنْ رَجُلٍ صَلَّى خَلْفَ الصُّفُوفِ وَحْدَهُ، فَقَالَ: ((يُعِيدُ الصَّلَاةَ))
Sayyiduna Wabisah bin Ma’bad (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) was asked about the person who performs prayer alone behind the rows. He (peace and blessings be upon him) said: He will repeat the prayer.