Book of Rites
Book of Rites, ch.4, quotes Confucius ordering his disciple to perform the respectful burial for his dog and saying: