Mishkat al-Masabih
Mishkat al-Masabih 1158
Arabic hadith text
وَعَنْ نَافِعٍ قَالَ: إِنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ يَقُولُ: مَنْ صَلَّى الْمَغْرِبَ أَوِ الصُّبْحَ ثُمَّ أَدْرَكَهُمَا مَعَ الْإِمَامِ فَلَا يَعُدْ لَهما. رَوَاهُ مَالك
Translation
Nafi said that Abdullah ibn Umar used to say: Whoever prays the sunset prayer or the dawn prayer, then catches those prayers with the imam, should not repeat them. Malik transmitted it.