瓢箪から駒が出る(ひょうたんからこまがでる)

Japanese vocabulary

Meaning: something appearing from a place you wouldn't expect; something said as a joke actually happening; a horse comes out from a gourd; something impossible; something ridiculous

See it used in real works