The tennis greats will play doubles together on Friday (23.09.22) at the Laver Cup in London as Federer brings an end to his extraordinary career in the sport.
The Swiss star has been struggling with a knee injury but says it will be "wonderful" to end his career alongside his greatest rival.
Federer said: "I'm not sure if I can handle it all but I'll try.
"This one feels a whole lot different. I'm happy to have him on my team and not playing against him."
Federer and Nadal will represent Team Europe at the event and the Spaniard is looking forward to an "unforgettable" contest.
He said: "One of the most important, if not the most important player in my tennis career is leaving.
"At the end, this moment will be difficult. I'm super-excited and grateful to play with him."
Meanwhile, Federer is pleased to be ending his career in London after his previous success in the city at Wimbledon and the World Tour Finals.
The 20-time Grand Slam winner said: "This city and its fans have given me a lot so I thought it was fitting to end it here. I will not stop playing tennis, it's just I will not play for points any more. I will keep on playing with my children, with my friends, hope to play exhibitions in the future and just still keep on promoting the game and playing in places I've never played before. So I'm really looking forward to that as well in the future."