Hadithcore
Mishkat al-Masabih, 1176

Ibn ‘Abbas reported God’s Messenger as saying, “When the stars set two <i>rak'as</i> should be prayed before the dawn prayer, and after the prostration two <i>rak'as</i> should be prayed after the sunset prayer.” Tirmidhi transmitted it.

وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «إدبار النُّجُوم الركعتان قبل الْفجْر وأدبار السُّجُود الركعتان بعد الْمغرب» . رَوَاهُ التِّرْمِذِيّ

References1 variant
In-Book Reference
Book 4, Hadith 593