It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: "Whoever among you wishes to perform prayer after Jumu'ah should perform four rak‘ahs (Sunnah)." Imam Darimi Abu Muhammad (may Allah have mercy on him) said: I perform two or four rak‘ahs (Sunnah) after Jumu'ah.
Hadith Referenceسنن دارمي / من كتاب الصللاة / 1614
Hadith Takhrijاس حدیث کی سند صحیح اور حدیث بھی صحیح ہے۔ دیکھئے: [مسلم 881] ، [أبوداؤد 1131] ، [ترمذي 523] ، [نسائي 1425] ، [ابن ماجه 1132] ، [ابن حبان 2477] ، [مسند الحميدي 1006]
Brief Explanation
(Commentary on Hadiths 1611 to 1614)
That is, according to the statement of the Messenger of Allah (sallallahu alayhi wa sallam), sometimes I perform four rak‘ahs of Sunnah and according to his action, sometimes two rak‘ahs of Sunnah. Some scholars have said that after Jumu‘ah, performing two rak‘ahs at home and four rak‘ahs in the mosque is Sunnah, and this is more correct.