The diagram that best illustrates the magnetic field of a bar magnet is the first.
You should know that, by convention, at any magnet, magnetic field lines are always drawn out of the north pole of the magnet and entering the south pole.
Therefore the correct option is the first