Doesn't matter. Even if he was given the source of his power by Madara, he still had to work to master that power and he still possesses the power.minato
itachi
nagato
in that order because nagato was giving his powers by madara, itachi is nice but just being a uchiha is ****ing cheating becuz they automatically get a power boost if their love one dies (seriously?) but minato worked hard with no overpowering moves, became hokage, beat B and A (the ultimate tag team besides naruto and sasuke) and he beat the nine tails while saving the village so minato by far
Nagato is clearly above the other two, shouldn't even be debatable. Between Minato and Itachi its close, but I put Minato above.