Sloane Stephens came up against fifth seed Maria Sakkari with a place at the 2024 Madrid Open round of 16 at stake.