From The Long Lost Friend:
To Attach A Dog To A Person
Try to draw some of your blood, and let the dog eat it along with his food, and he will stay with you. Or scrape the four corners of your table while you are eating, and continue to eat with the same knife after having scraped the corners of the table. Let the dog eat those scrapings, and he will stay with you.
The grimoire The Long Lost Friend lists this spell.
Timeline of related events
1820Publication of Hohmann's Long Lost Friend (lists this spell)