Sunan Ibn Majah, Book 26, Hadith 4 (Ibn Majah 3125)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

“Whoever can afford it, but does not offer a sacrifice, let him not come near our prayer place.”