How could Nadal do that passing shot from there?

Rafael Nadal executes an incredible passing shot from an impossible position in the US Open 4th round against Basilashvili.