Miami: Rafael Nadal and Novak Djokovic reached the final of the Miami ATP Masters without lifting their racquets on Friday after their semi-final opponents Tomas Berdych and Kei Nishikori withdrew.

The two semi-final walkovers were a first in ATP history, with Nishikori pulling out with a groin injury and Berdych felled by gastroenteritis.

“I ran into Cliff Buchholz, who was the tournament director before me for many, many years,” tournament director Adam Barrett said. “He looked at me and said, ‘Adam, that’s never happened before. I think you just set a record’.

“I said ‘Cliff, not a record I want to set’.”

The bizarre turn of events nevertheless produced a predictable pair of finalists in world number one Nadal and number two Djokovic.

Berdych, who received intravenous fluids in a futile attempt to be ready for his evening match against Nadal, was at a loss to explain how he became so ill.

“Last night was basically the same as every other night. I ended up in the same restaurant, everything was fine,” he said.

“I woke up at 7:30 in the morning with pain in my stomach. I am disappointed about not getting a chance to play,” he added.

Nishikori withdrew after attempting to warm-up for his earlier match against Djokovic, saying the left groin injury hindered his movement too much to allow him to play.

The injury ended Nishikori’s sparkling run at the hardcourt tournament, where he saved four match points en route to a fourth-round victory over world number five David Ferrer and then vanquished Swiss great Roger Federer in the quarter-finals.

“For me, it was my biggest tournament in a couple of years, to reach a semi-final of a Masters,” a dejected Nishikori said.

“It’s really sad. I was really playing well.”

Nadal, who has never lifted the Miami trophy, has three runner-up finishes on his resume, including a loss to Djokovic in a third-set tiebreaker in the 2011 title match, one of the three times Djokovic has won this title.

The pair will be meeting for the first time this season.

Nadal leads their career head-to-head record 22-17, but Djokovic has won their last two encounters, in the finals in Beijing and at the ATP World Tour Finals.

Djokovic, who beat Federer for the Indian Wells Masters title two weeks ago, is bidding to complete the tough Indian Wells-Miami double for the second time after accomplishing the feat in 2011.

The Serbian received two free passes in his progress to the final. He also advanced to the fourth round on a walkover after third-round opponent Florian Mayer withdrew from their third-round match with a groin injury.

“Well, it’s not the first time it happens for me to have the opponent pulling out — maybe it’s the first time I have twice in the same tournament,” he said.

“But it is the way it is, and you kind of have to deal with that.”

Djokovic said he practised well on the stadium court on Friday and would just try to keep himself sharp until Sunday’s final.

“I have won Indian Wells, which gave me a lot of confidence, played a lot of matches, put in a lot of hours on the practice court and, hopefully, it will pay off.”