Ibn ‘Abbas reported the Prophet as saying, “If anyone neglects the Friday prayer except in case of necessity, he will be inscribed as a hypocrite in a book which will not be obliterated or changed.” Some versions have “three times."*
*Meaning that the Prophet said these words three times.
Ibn Mas'ud reported the Prophet as saying to people who stayed away from the Friday prayer, “I have thought about commanding a man to lead the people in prayer, then burning their houses over men who stayed away from the Friday prayer."
Jabir reported God’s Messenger as saying, “Prayer in congregation on Friday is a duty laid on those who believe in God and the last day, except for an invalid, a traveller, a woman, a boy, an insane person, or a slave. If anyone neglects it through sport or trade, God will have nothing to do with him. God is the Independent and Praiseworthy One."
Narrated 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.