Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:6288[Chain 1] Abū Saʿd ʿAbd al-Malik b. Abū ʿUthmān al-Zāhid Imlāʾ > Abū al-Ḥasan ʿAlī b. Bundār b. al-Ḥusayn > ʿAbdullāh b. Aḥmad b. Mūsá al-Ahwāzī > Muḥammad b. al-Muṣaffá [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAlī al-Ḥusayn b. ʿAlī al-Ḥāfiẓ > Muḥammad b. Yaḥyá b. Kathīr al-Ḥimṣī > Muḥammad b. al-Muṣaffá > Baqiyyah > Shuʿbah > al-Mughīrah b. Miqsam al-Ḍabbī > ʿAbd al-ʿAzīz b. Rufayʿ > Abū Ṣāliḥ > Abū Hurayrah

[Machine] "The Messenger of Allah ﷺ said: 'Two Eids have coincided on this day, so whoever wishes can consider it as a substitute for Jumu'ah (Friday prayer), and indeed, we are all gathered here."  

البيهقي:٦٢٨٨وَحَدَّثَنَا أَبُو سَعْدٍ عَبْدُ الْمَلِكِ بْنُ أَبِي عُثْمَانَ الزَّاهِدُ إِمْلَاءً أنبأ أَبُو الْحَسَنِ عَلِيُّ بْنُ بُنْدَارِ بْنِ الْحُسَيْنِ ثنا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ مُوسَى الْأَهْوَازِيُّ ثنا مُحَمَّدُ بْنُ الْمُصَفَّى ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَلِيٍّ الْحُسَيْنُ بْنُ عَلِيٍّ الْحَافِظُ ثنا مُحَمَّدُ بْنُ يَحْيَى بْنِ كَثِيرٍ الْحِمْصِيُّ ثنا مُحَمَّدُ بْنُ الْمُصَفَّى ثنا بَقِيَّةُ ثنا شُعْبَةُ عَنِ الْمُغِيرَةِ بْنِ مِقْسَمٍ الضَّبِّيِّ عَنْ عَبْدِ الْعَزِيزِ بْنِ رُفَيْعٍ عَنْ أَبِي صَالِحٍ عَنْ أَبِي هُرَيْرَةَ

عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ قَالَ قَدْ اجْتَمَعَ فِي يَوْمِكُمْ هَذَا عِيدَانِ فَمَنْ شَاءَ أَجْزَأَهُ مِنَ الْجُمُعَةِ وَإِنَّا مُجَمِّعُونَ  

رَوَاهُ أَيْضًا عَبْدُ الْعَزِيزِ بْنُ مُنِيبٍ الْمَرْوَزِيُّ عَنْ عَلِيِّ بْنِ الْحَسَنِ بْنِ شَقِيقٍ ثنا أَبُو حَمْزَةَ عَنْ عَبْدِ الْعَزِيزِ مَوْصُولًا وَهُوَ فِي التَّارِيخِ وَرَوَاهُ سُفْيَانُ الثَّوْرِيُّ عَنْ عَبْدِ الْعَزِيزِ فَأَرْسَلَهُ