Hadithcore
Mishkat al-Masabih, 593

He reported God’s Messenger as saying, “This is how a hypocrite prays:

he sits watching the sun, and when it becomes yellow and is between the horns of the devil, he rises and prays four <i>rak'as</i> quickly, mentioning God seldom during them.” Muslim transmitted it.

وَعَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:

تِلْكَ صَلَاةُ الْمُنَافِقِ: يَجْلِسُ يَرْقُبُ الشَّمْسَ حَتَّى إِذَا اصْفَرَّتْ وَكَانَتْ بَيْنَ قَرْنَيِ الشَّيْطَانِ قَامَ فَنَقَرَ أَرْبَعًا لَا يَذْكُرُ اللَّهَ فِيهَا إِلَّا قَلِيلا

. رَوَاهُ مُسلم

References1 variant
In-Book Reference
Book 4, Hadith 28