Anas bin Malik reported,

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 prostrations, barely remembering Allah during them."

Azami 13776

Sahih

عن أنس بن مالك قال

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

الأعظمي 13776صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Maun
Section
His saying, "Have you seen the one who denies the religion? That is the one who repulses the orphan"
Numbering
Jami al-Kamil 13776 (2nd edition)
Azami 13776