Mishkat al-Masabih
Tariq b. Shihab reported God’s Messenger as saying, “The Friday paryer in congregation is a necessary duty for every Muslim, with four exceptions: a slave, a woman, a boy, or an invalid.” Abu Dawud transmitted it. In Sharh as-sunna it occurs with the same wording as in al-Masabih from a man of the B. Wa’il.
وَعَنْ طَارِقِ بْنِ شِهَابٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " الْجُمُعَةُ حَقٌّ وَاجِبٌ عَلَى كُلِّ مُسْلِمٍ فِي جَمَاعَةٍ إِلَّا عَلَى أَرْبَعَةٍ: عَبْدٍ مَمْلُوكٍ أَوِ امْرَأَةٍ أَوْ صَبِيٍّ أَوْ مَرِيضٍ ". رَوَاهُ أَبُو دَاوُدَ وَفِي شَرْحِ السُّنَّةِ بِلَفْظِ الْمَصَابِيحِ عَنْ رَجُلٍ مِنْ بني وَائِل
Reference