Answer:
Zen Buddhism
However, it was Zen Buddhism that best suited the warriors and complemented bushidō, the strict code of the samurai's practice, or, “the way of the warrior.” Zen Buddhism eschewed the elaborate rituals and scriptures of Pure Land and the esoteric sects for the idea that all things are fleeting and enlightenment may be.