عَن عبد الله الصنَابحِي قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ الشَّمْسَ تَطْلُعُ وَمَعَهَا قَرْنُ الشَّيْطَانِ فَإِذَا ارْتَفَعَتْ فَارَقَهَا ثُمَّ إِذَا اسْتَوَتْ قَارَنَهَا فَإِذا زَالَت فَارقهَا فَإِذَا دَنَتْ لِلْغُرُوبِ قَارَنَهَا فَإِذَا غَرَبَتْ فَارَقَهَا» . وَنَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنِ الصَّلَاةِ فِي تِلْكَ السَّاعَاتِ. رَوَاهُ مَالِكٌ وَأحمد وَالنَّسَائِيّ
Translation
Abu Basra al-Ghifari said

God’s Messenger led us in the afternoon prayer at al-Mukhammas and said, “This is a prayer which was proposed to your predecessors, but they neglected it. Everyone who keeps observing it will have a double reward, but there is no prayer after it till ash-shahid rises.” Ash-shahid is the star.** No particular star is intended. The meaning is that the prayer should be observed when stars become visible. Muslim transmitted it.