Amr bin Shu'ayb narrates from his father, and he from his grandfather, that Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) said: "Jumu'ah is obligatory on the one who hears the adhan, and whoever hears the adhan and does not come has disobeyed Allah."
This is mawquf (a statement of the Companion).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجمعة / 5583
Hadith Gradingمحدثین:صحيح لغيرهٖ
Hadith Takhrij«صحيح لغيرهٖ۔ أخرجه البخاري في تاريخه 1/93»