Abu Hurairah (RAA) narrated that Allah's Messenger (ﷺ) said:
"He who can afford it but did not offer a sacrifice must not come near our place of prayer." Related by Ahmad and Ibn Majah. Al-Hakim graded it as Sahih. Other Imams said that it is Mawquf (i.e. it is not connected to the Prophet (ﷺ).) (DE)
English reference (DE): Book 12, Hadith 1389 (DE)
Arabic reference (DE): Book 12, Hadith 1348 (DE)