o que non ten cabeza ten pés

Etymology
lit. 'who has no head has feet'.

Proverb

 * 1) those who do not think (especially those who forget an item) have to make a physical effort to deal with the consequences