Anas bin Malik reported,

While he was at his home in Basra, having finished the noon prayer, with his house adjoining the mosque, he said, "Stand up and pray the afternoon prayer."So we stood and prayed. When we had finished, he said, "I heard the Messenger of Allah ﷺ say, 'That is the prayer of the hypocrite. He sits watching the sun, and when it is between the two horns of Satan, he stands and pecks out four units, remembering Allah only a little in them.'"

Tirmidhi 160

Sahih

حدثنا علي بن حجر حدثنا إسمعيل بن جعفر عن العلاء بن عبد الرحمن أنه دخل على

أنس بن مالك

في داره بالبصرة حين انصرف من الظهر وداره بجنب المسجد فقال قوموا فصلوا العصر قال فقمنا فصلينا فلما انصرفنا قال سمعت رسول الله ﷺ يقول تلك صلاة المنافق يجلس يرقب الشمس حتى إذا كانت بين قرني الشيطان قام فنقر أربعا لا يذكر الله فيها إلا قليلا

الترمذي 160صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Hastening Asr
Numbering
Darussalam 160
Tirmidhi 160