Sasuke has an ability to swap places in a limited area.
Back in 674 when he attacked the Limbo Madara, the sword passed through the former and landed on the ground, near Naruto. Later on, when Madara attacked Sasuke, it seems like Sasuke switched places with his sword, and landed near Naruto...