who told ... to
Ela gostaria de saber quem mandou as flores.
She would like to know who sent the flowers.
Quem mandou acender uma vela aí?
Who told you to light a candle there?
— Os Quatrocentos Golpes (1959)
Tem certeza de que foi Tom quem mandou Mary fazer isso?
Are you sure Tom told Mary to do that?