Jami` at-Tirmidhi, Volume 1, Book 2, Hadith 160 (DarusSalam) ⓘ
Al-Ala bin Abdur-Raman narrated that : he visited Anas bin Malik in his home in Al Basrah after finishing Zuhr, and his home was next to the Masjid. So he said: 'Stand to pray Asr." He (Al-Ala) said: "So we stood to pray. When we were finished he (Anas) said: 'I heard Allah's Messenger saying: "That is the prayer of the hypocrite. He sits watching the sun, until when it is between the horns of the Shaitan he stands and pecks out four (units of prayer), not remembering Allah in them but a little."
حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، عَنِ الْعَلاَءِ بْنِ عَبْدِ الرَّحْمَنِ، أَنَّهُ دَخَلَ عَلَى أَنَسِ بْنِ مَالِكٍ فِي دَارِهِ بِالْبَصْرَةِ حِينَ انْصَرَفَ مِنَ الظُّهْرِ وَدَارُهُ بِجَنْبِ الْمَسْجِدِ فَقَالَ قُومُوا فَصَلُّوا الْعَصْرَ . قَالَ فَقُمْنَا فَصَلَّيْنَا فَلَمَّا انْصَرَفْنَا قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " تِلْكَ صَلاَةُ الْمُنَافِقِ يَجْلِسُ يَرْقُبُ الشَّمْسَ حَتَّى إِذَا كَانَتْ بَيْنَ قَرْنَىِ الشَّيْطَانِ قَامَ فَنَقَرَ أَرْبَعًا لاَ يَذْكُرُ اللَّهَ فِيهَا إِلاَّ قَلِيلاً " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ .
also referenced under: Hadith 160 (Reference) & Book 2, Hadith 12 (In-Book)