It you must do so, do it only once.

Sahih Muslim Book 5 Hadith 59

Sahih Muslim #546 a

The Book of Mosques and Places of Prayer 5:59

Mu'aiqib quoted the Messenger of Allah (ﷺ) mentioning the removal of pebbles from the ground where he prostrated himself. He (the Prophet) said:

It you must do so, do it only once.

Chapter: It is disliked to smooth the pebbles or make the dirt level during salat

Grade: Sahih