Sunan Ibn Majah, Book 26, Hadith 3242 (In-Book) ⓘ
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.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَيَّاشٍ، عَنْ عَبْدِ الرَّحْمَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ " مَنْ كَانَ لَهُ سَعَةٌ وَلَمْ يُضَحِّ فَلاَ يَقْرَبَنَّ مُصَلاَّنَا " .
also referenced under: Hadith 3123 (Reference) & Volume 4, Book 26, Hadith 3123 (DarusSalam)