It is narrated from Ubaidullah bin Abi Rafi’ (may Allah have mercy on him) that he narrates from Abu Hurairah (may Allah be pleased with him) that he recited Surah Jumu’ah and ﴿إِذَاجَاءَكَالْمُنَافِقُونَ﴾ in the Friday prayer. Ubaidullah says: I said to Abu Hurairah (may Allah be pleased with him): “You have recited the same two surahs that Sayyiduna Ali (may Allah be pleased with him) used to recite in the Friday prayer.” So Abu Hurairah (may Allah be pleased with him) said: “Indeed, the Messenger of Allah (ﷺ) also used to recite these two.”
Hadith Referenceمسند الإمام الشافعي / كتاب الجمعة / 450
Hadith Takhrijاخرجـہ مسلم، الجمعۃ، باب ما يقرأ في صلاة الجمعة (877)۔