grimoire
The origin and history of grimoire.
Etymology
From French grimoire, a variant of grammaire ("grammar") — in the Middle Ages, any book written in an unfamiliar or learned language could seem like a book of magic to the average reader, so "grammar book" and "magic book" became linked.