Derby County will meet Salford City in the first round of next season's Carabao Cup.
Rooney will be reunited with former team-mates next season after his Derby side were drawn against the Class of 92's Salford City in the Carabao Cup.
Former Red Devils Phil Neville, Gary Neville, Ryan Giggs, Paul Scholes, David Beckham and Nicky Butt all own shares in the League Two outfit.
Salford will travel to Pride Park in the first round of the Carabao Cup after being drawn against Championship outfit Derby.
Rooney guided the Rams to safety on the final day of last season.
And he is sure to be eager to test himself against an impressive Salford outfit led by Gary Bowyer.