(2) Prayer (Kitab Al-Salat)
كتاب الصلاة
(208) Chapter: If One Prays In A Congregation, Then Catches Another Congregation, Should He Repeat
(58) باب إِذَا صَلَّى ثُمَّ أَدْرَكَ جَمَاعَةً أَيُعِيدُ
Sunan Abi Dawud 579 

Narrated Abdullah ibn Umar:

Sulayman, the freed slave of Maymunah, said: I came to Ibn Umar at Bilat (a place in Medina) while the people were praying. I said: Do you not pray along with them? He said: I heard the Messenger of Allah (ﷺ) say: Do not say a prayer twice in a day.

حَدَّثَنَا أَبُو كَامِلٍ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، حَدَّثَنَا حُسَيْنٌ، عَنْ عَمْرِو بْنِ شُعَيْبٍ، عَنْ سُلَيْمَانَ بْنِ يَسَارٍ، - يَعْنِي مَوْلَى مَيْمُونَةَ - قَالَ أَتَيْتُ ابْنَ عُمَرَ عَلَى الْبَلاَطِ وَهُمْ يُصَلُّونَ فَقُلْتُ أَلاَ تُصَلِّي مَعَهُمْ قَالَ قَدْ صَلَّيْتُ إِنِّي سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ لاَ تُصَلُّوا صَلاَةً فِي يَوْمٍ مَرَّتَيْنِ ‏"‏ ‏.‏
Grade :  Hasan Sahih (Al-Albani) حسن صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 579
In-book reference : Book 2, Hadith 189
English translation : Book 2, Hadith 579