The third gym in Pokémon Pearl is located in Veilstone City. To reach it, you'll first need to pass through Solaceon Town.
Along the way you'll battle a few trainers using Pokémon like Monferno, Glameow, Gyarados, and Kadabra. Once you arrive in Veilstone City and challenge the gym leader, expect a team featuring Meditite, Machoke, and finally Lucario. Come prepared with a good type matchup and you'll walk away with the badge.