Magic Buddhism

In early scriptures Śākyamuni criticized magic and ritual, and Mahāyāna scriptures as well preached the danger of these non-Buddhist artifacts. However, in its process of transmission, Buddhism fused with native thought, and came to incorporate Hindu-style rituals. The Japanese practice of offering prayers via memorial services that burn wood in front of Fudō Myōō (Acalanātha-Vidyārāja) and other figures originates in the Vedic fire offering ceremony called homa.

History and Teachings of Nichiren Buddhism, p 51