It is narrated from Sayyiduna Mu'ayqib (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said to him concerning levelling (the pebbles) during the prayer: "If you must do it, then do it once."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17953