vestir o paletó de madeira

Etymology
lit. 'to wear the wooden paletot' – in this case, wooden paletot is a euphemism for.

Verb

 * 1)  to give up the ghost to die