عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ: ((إِنَّ الشَّيْطَانَ يَأْتِي أَحَدَكُمْ وَهُوَ فِي الصَّلَاةِ فَيَأْخُذُ شَعْرَهُ مِنْ دُبُرِهِ فَيَمُدُّهَا فَيَرَى أَنَّهُ قَدْ أَحْدَثَ، فَلَا يَنْصَرِفْ حَتَّى يَسْمَعَ صَوْتًا أَوْ يَجِدَ رِيحًا))
It is narrated from Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: When any one of you is performing prayer, Satan comes to him and pulls the hair at his back, causing the person to imagine that he has broken his ablution due to passing wind. In such a situation, no one should go for ablution unless he hears a sound or perceives a smell.