All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Saad Ibn ‘Abdullah Al Ma’afiri a scholar of the Maliki school of jurisprudence, asked Imam Malik about the ruling concerning food made by Christians who donate it in charity on behalf of their dead: “Is it lawful for a Muslim to eat from it? Imam Malik replied: "No, he should not eat from it, and he should not take it from them."
Abdul Malik Ibn Habeeb another Maliki scholar, commented on Imam Malik's statement by saying: “This food is made as a way of glorifying Shirk [associating partners with Allah], so it is like the animals slaughtered for feasts and churches.” The Scholar Ibn Al-Qaasim from the Maliki school of jurisprudence, issued the same commentary.
The Buddhist, Hindus and others are worse than the Christians and the Jews in this regard.
On the other hand, Imam Ahmad Ibn Hambal was asked about the ruling of this during the feasts and rites of the Christians, and he replied: “The Muslim should not help them in what they do.”
Moreover, Ibn Taymiyyah said while relating the prohibition of this and similar acts: “The food and clothes in their feasts are not forbidden in themselves. What is forbidden is the acts they perform with them as these feasts are symbols of disbelief, so the Muslim should not use them because this might lead him (the Muslim) to get into a branch of disbelief.”
As a conclusion, we believe that it is forbidden to eat or drink from anything made by non-Muslims as part of their religious rites or ceremonies.
Allah knows best.