عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ مَوْهِبٍ عَنْ مَوْلَى لِأَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ: بَيْنَمَا أَنَا مَعَ أَبِي سَعِيدٍ الْخُدْرِيِّ مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذْ دَخَلْنَا الْمَسْجِدَ فَإِذَا رَجُلٌ جَالِسٌ فِي وَسَطِ الْمَسْجِدِ مُحْتَبٍ مُشَبِّكًا أَصَابِعَهُ بَعْضَهَا بِبَعْضٍ، فَأَشَارَ إِلَيْهِ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، فَلَمْ يَفْطِنِ الرَّجُلُ لِإِشَارَةِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، فَالْتَفَتَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِلَى أَبِي سَعِيدٍ فَقَالَ: ((إِذَا كَانَ أَحَدُكُمْ فِي الْمَسْجِدِ فَلَا يُشَبِّكَنَّ فَإِنَّ الِاشْتِبَاكَ مِنَ الشَّيْطَانِ، وَإِنَّ أَحَدَكُمْ لَا يَزَالُ فِي صَلَاةٍ مَادَامَ فِي الْمَسْجِدِ حَتَّى يَخْرُجَ مِنْهُ))
Ubaidullah bin Abdur Rahman bin Muhib narrates from a servant of Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him), who says: I was in the company of Sayyiduna Abu Sa'id (may Allah be pleased with him) with the Messenger of Allah (peace and blessings be upon him), we entered the mosque and saw that a man was sitting cross-legged in the middle of the mosque, intertwining the fingers of his hands. The Messenger of Allah (peace and blessings be upon him) gestured to him, but the man did not understand. Then the Prophet (peace and blessings be upon him) turned to Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) and said: When any of you is in the mosque, he should not intertwine his fingers, because intertwining is from Satan, and indeed as long as a person remains in the mosque, he is considered to be in prayer until he leaves the mosque.