Step 1: Understand the nature of magnetic field lines.
Magnetic field lines always form closed continuous loops. They never start or end at any point.
Step 2: Direction of magnetic field lines outside the magnet.
Outside a bar magnet, magnetic field lines emerge from the North pole and enter the South pole.
Step 3: Direction of magnetic field lines inside the magnet.
To complete the closed loop, inside the magnet the magnetic field lines go from the South pole to the North pole.
Step 4: Final conclusion.
Hence, inside a bar magnet, magnetic lines of force are directed from S-pole to N-pole.