The Mad Hatter doesn't actually have a rhyme in the book "Alice's Adventures in Wonderland" by Lewis Carroll. He is known for his nonsensical riddles and conversations, but there is no specific rhyme associated with him.
Perhaps you're thinking of a different character or a specific passage from the book?
If you can provide more context, I might be able to help you pinpoint what you're looking for!