Sunan Abi Dawud, Book 2, Hadith 719 (Abu Dawud 1109)

Narrated Samurah ibn Jundub:

The Prophet (ﷺ) said: Attend the sermon (on Friday) and sit near the imam, for a man keeps himself away until he will be left behind at the time of entering Paradise though he enters it.