Cook the asparagus in boiling salted water until tender. Drain.
Preheat oven to moderate (350°F.).
Add the milk, salt, cayenne and nutmeg to the eggs. Add asparagus and butter and pour the mixture into a baking dish. Set the baking dish in a pan of water and bake for forty to fifty minutes, until the custard is set.