estirar la pata

Etymology
lit. 'to stretch one's leg'. When an animal or human dies, it typically goes into rigor mortis, where its body becomes stiff. In this instance, commonly in animals, the legs will stretch out.

Verb

 * 1)  kick the bucket