The Briton will share the back row with Toro Rosso's Sebastian Vettel, who did not take part in qualifying after ploughing into the wall during final practice.
Vettel's relegation will see Pastor Maldonado of Venezuela in his Williams promoted to third on the grid to share the second row with Kimi Raikkonen in his Lotus.
Hamilton, who will share the front row with Vettel's teammate Mark Webber, was delighted to have gotten the better of the Red Bulls, who have filled the top two on the grid for the last three rounds.