Which is a similie?

A) riding like the wind
or
B) looked like they had come from far

A,

A simile compares two unlike things.