The correct option is B Solid
Sound is nothing more than a local disturbance whose propagation is facilitated by the collisions between particles; this disturbance propagates in a longitudinal wave; imagine one molecule hitting the next molecule, and then that molecule hitting the next, and so forth.
The distances between molecules in solids are very small, i.e., solids are more dense - as compared to liquids and gases. Because they are so close, they can collide very quickly, i.e. it takes less time for a molecule of the solid to 'bump' into its neighbour. Solids are packed together tighter than liquids and gases, hence sound travels fastest in solids.