Messenger of Allah ﷺ said that he met Zaid bin ʿAmr Nufail at a place near Baldah and this had happened before Messenger of Allah ﷺ received the Divine Inspiration. Messenger of Allah ﷺ presented a dish of meat (that had been offered to him by the pagans) to Zaid bin ʿAmr, but Zaid refused to eat of it and then said (to the pagans), "I do not eat of what you slaughter on your stonealtars (Ansabs) nor do I eat except that on which Allah's Name has been mentioned on slaughtering." (Using translation from Bukhārī 5499)
عَنْ رَسُولِ اللهِ ﷺ أَنَّهُ لَقِيَ زَيْدَ بْنَ عَمْرِو بْنِ نُفَيْلٍ بِأَسْفَلِ بَلْدَحَ وَذَلِكَ قَبْلَ أَنْ يَنْزِلَ عَلَى رَسُولِ اللهِ ﷺ الْوَحْيُ فَقَدَّمَ إِلَيْهِ رَسُولُ اللهِ ﷺ سُفْرَةً فِيهَا لَحْمٌ فَأَبَى أَنْ يَأْكُلَ مِنْهَا وَقَالَ إِنِّي لَا آكُلُ مِمَّا تَذْبَحُونَ عَلَى أَنْصَابِكُمْ وَلَا آكُلُ إِلَّا مِمَّا ذُكِرَ اسْمُ اللهِ عَلَيْهِ وَحَدَّثَ هَذَا عَبْدُ اللهِ عَنْ رَسُولِ اللهِ ﷺ