Islamic Ruling on Cleaning Dog Impurity with Soil
According to the stronger Islamic ruling, soil is required to purify dog impurity, and no other substance can replace it unless soil is unavailable.

This fatwa is based on a hadith narrated by Hazrat Abu Hurairah. The Prophet ﷺ said that when a dog licks a utensil, it must be washed seven times, and one of those times must be with soil.
From this hadith, Islamic scholars concluded that to remove dog impurity, washing seven times with water is required, and one wash must be done using soil. According to the stronger opinion, using soil is necessary, and nothing else can fully replace it.
However, some Islamic scholars allowed the use of alternatives like soap if soil is not available. This permission is given only in cases of necessity. These views are mentioned by scholars such as Imam Umrani and Imam Isnawi.
This Islamic ruling shows that soil has a special role in purification from dog impurity according to the fatwa of Shafii scholars.