On a rainy day a dog was walking on the wet road and I was walking on that road. I think my sole of the slipper got najis as per the law of transferring of najasat. Plus, on another rainy day, I even stepped on poop of goat. So my slippers became najis. Now my question is that, can the sole become paak by something like walking on road and taking 40 steps or something? Please guide me with more info if answer is yes

Mutahhirat » 2. Earth

Ruling 177. Earth purifies the sole of one’s foot or shoe on four conditions:

1. the earth is pure;
2. the earth is dry;
3. based on obligatory precaution, the impurity has come onto the sole of one’s foot or shoe from the earth;
4. an intrinsic impurity – such as blood and urine – or an object that has become impure – such as mud that has become impure and is on the sole of one’s foot or shoe – is removed by walking or by rubbing the foot on earth; and in the event that the intrinsic impurity had previously been removed, then based on obligatory precaution the sole of one’s foot or shoe does not become pure by walking or by rubbing the foot on earth. Furthermore, the earth must be of soil, stone, brick, or something similar; therefore, walking on a rug, ḥaṣīr, and on grass does not purify the impure sole of one’s foot or shoe.

Ruling 178. To consider the impure sole of one’s foot or shoe as having become pure after walking on asphalt and ground paved with wood is problematic [i.e. based on obligatory precaution, it must not be considered as having become pure].

Ruling 179. In order to purify the sole of one’s foot or shoe, it is better to walk a distance of fifteen cubits (dhirāʿs)(1) or more, even if the impurity is removed by walking less than fifteen cubits or by rubbing the sole of one’s foot or shoe on earth.

Ruling 180. It is not necessary for the impure sole of one’s foot or shoe to be wet; rather, even if it is dry it becomes pure by walking.