Hadith 1158

وَعَنْ نَافِعٍ قَالَ: إِنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ يَقُولُ: مَنْ صَلَّى الْمَغْرِبَ أَوِ الصُّبْحَ ثُمَّ أَدْرَكَهُمَا مَعَ الْإِمَامِ فَلَا يَعُدْ لَهما. رَوَاهُ مَالك
Nafi‘ said that Ibn ‘Umar used to say, “If anyone prays the sunset or the morning prayer and then comes when the imam is praying them, he must not say them over again.” Malik transmitted it.
Hadith Reference Mishkat al-Masabih / The Book of Prayer / Hadith: 1158
Hadith Grading الألبانی: صَحِيح  |  زبیر علی زئی: إسناده صحيح
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده صحيح، رواه مالک (1/ 133 ح 298)»