Hadith 4575

(حديث مرفوع) حَدَّثَنَا سُفْيَانُ ، حَدَّثَنِي مُسْلِمُ بْنُ أَبِي مَرْيَمَ ، عَنْ عَلِيِّ بْنِ عَبْدِ الرَّحْمَنِ الْمُعَاوِيِّ ، قَالَ : صَلَّيْتُ إِلَى جَنْبِ ابْنِ عُمَرَ ، فَقَلَّبْتُ الْحَصَى ، فَقَالَ : " لَا تُقَلِّبْ الْحَصَى ، فَإِنَّهُ مِنَ الشَّيْطَانِ ، وَلَكِنْ كَمَا رَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَفْعَلُ كَانَ يُحَرِّكُهُ هَكَذَا " ، قَالَ أَبُو عَبْد اللَّهِ : يَعْنِي مَسْحَةً .
Ali bin Abdur Rahman Mu'awi (may Allah have mercy on him) says that once I had the opportunity to pray next to Sayyiduna Ibn Umar (may Allah be pleased with them both). I began to turn over pebbles, so he forbade me from doing so and said that this is a satanic act. However, it is permissible to do it in the manner I saw the Prophet Muhammad (peace and blessings be upon him) do: he would move them like this. The narrator demonstrated by passing his hand (he would level the place of prostration, but would not keep doing it repeatedly and spoil the prayer).
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 4575
Hadith Grading حکم دارالسلام: إسناده صحيح، م: 850