2 verses have
attend
in Edition Clear Qur'an by Talal Itani / At-Tawba (The Repentance)

9:17It is not for the polytheists to attend God’s places of worship while professing their disbelief. These—their works are in vain, and in the Fire they will abide.

9:18The only people to attend God’s places of worship are those who believe in God and the Last Day, and pray regularly, and practice regular charity, and fear none but God. These are most likely to be guided.