It is narrated from Ibn Abbas (may Allah be pleased with him) that the Prophet (peace be upon him) said: "Whoever leaves Friday (prayer) without necessity is written as a hypocrite in a Book with Allah, a Book whose writing can neither be erased nor changed." In some narrations, it is mentioned that the Prophet (peace be upon him) said these words three times.
Hadith Referenceمسند الإمام الشافعي / كتاب الجمعة / 455