Eden Hazard ended the wait for his first Real Madrid goal but his team had to resist a spirited second-half comeback from Granada to seal a thrilling 4-2 victory in La Liga on Saturday. Karim Benzema put Real ahead in the second minute at the Bernabeu, before Hazard opened his account with a delightful lifted finish towards the end of the first half. Luka Modric's bending long-range effort on the hour looked to have confirmed the win but Granada scored twice in quick succession through Darwin Machis and Domingos Duarte, the first from the penalty spot, to set up a tense last 12 minutes. James Rodriguez, on as a substitute, ended the rally by scoring his first Madrid goal since May 2017 to wrap up an unexpectedly dramatic contest between the league's top two. Madrid will stay first heading into the international break even if newly-promoted Granada demonstrated why they have made such a remarkable opening to the season. "We wanted to keep a clean sheet but sometimes an opponent can put you under pressure," Real managerZinedine Zidane said. "We didn't surrender, we kept going and we knew any time we could score a fourth." Madrid had been in control, their fluency and tempo contributing to arguably the best hour of football they have played this season. Yet a hectic 20-minute period in the second half took some of the gloss off a win that at least gets Zidane's side back on track following their 2-2 draw at home to Club Brugge in the Champions League on Tuesday. Hazard had become a growing concern after five underwhelming matches, the patience granted to him after his injury in pre-season beginning to run out after his €100 million (Dh414m) move from Chelsea. "We need Eden like that, playing well and scoring," Zidane said. "He was happy at the end of the game in the changing room. We are happy for him and his goal. I hope it is the first of many." Toni Kroos walked off injured in the first half to be replaced by Modric while Zidane said afterwards that Gareth Bale's substitution late on was also due to a knock. Their fitness will be a concern for Germany and Wales respectively ahead of the international break. Bale had returned after being rested against Brugge while Alphonse Areola came in for the ill Thibaut Courtois in goal. Areola's mistake gave away the penalty, and perhaps any hopes he had of keeping Courtois out longer-term. Madrid conceded after 122 seconds on Tuesday but needed only 102 to take the lead here. Playing on the right, Bale often makes use of the outside of his left foot and the bend he created to bypass two Granada defenders and find Benzema at the backpost was superb. Benzema could not miss. Madrid created several early chances. A slick move down the left between Bale, Benzema and Dani Carvajal saw the latter go clear while Benzema and the impressive Fede Valverde both went close too. Bale was first to congratulate Hazard when he scored shortly before half-time but Valverde created it, driving past two Granada midfielders before intercepting Duarte's header and poking the ball through. Hazard finished just in time, lifting it coolly into the net. The second half grew increasingly bad-tempered, broken up by late tackles and complaints to the referee. Yet when Modric collected Hazard's pass on the hour, after another Valverde chase, and found the top corner, the game looked finished. Instead, Granada were given a lifeline. Areola had just failed to claim a cross when moments later he dallied in his box and caught Carlos Fernandez in a rushed attempt to clear. Machis scored the penalty and with 12 minutes left, they made it 3-2, Victor Diaz heading to the back post where Duarte prodded in. Madrid were suddenly alive to the unexpected threat and Benzema should have made it four in the 86th minute but his shot was saved. James did, a quick break ending with Alvaro Odriozola finding him with the pull-back. The relief was palpable.