The reports from Abu Yusuf are not uniform on sand. The principal statement here permits soil and sand, but other transmissions restrict the materials even further.
The precise distinction matters: the general earth-material principle of Abu Hanifa and Muhammad is broader than either of those reported restrictions.