Sunan Ibn Majah, Book 5, Hadith 223 (Ibn Majah 1025)

It was narrated that Abu Hurairah said:

The Messenger of Allah (ﷺ) said: “Whoever smoothes the pebbles, then he has engaged in Laghw.”* *Meaning he has done what is not suitable.