بُلُوغُ الْمَرَامِ
Bulugh al-Maram 479
The Book of Prayer
وَلِلنَّسَائِيِّ مِنْ وَجْهٍ آخَرَ عَنْ جَابِرٍ { أَنَّ اَلنَّبِيَّ - صلى الله عليه وسلم -صَلَّى بِطَائِفَةٍ مِنْ أَصْحَابِهِ رَكْعَتَيْنِ, ثُمَّ سَلَّمَ, ثُمَّ صَلَّى بِآخَرِينَ أَيْضًا رَكْعَتَيْنِ, ثُمَّ سَلَّمَ } [1] .
an-Nasa'i reported this narration - through another chain of narrators - from Jabir (RA): The Prophet (ﷺ) led a group of his Companions in two Rak'at after which he uttered the Taslim (salutation). Then he led another group in two Rak'at after which he uttered the Taslim (salutation)."
Sunnah.com reference: Book 2, Hadith 404