Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:7092ʿAbdullāh b. Muḥammad > Hishām b. Yūsuf > Maʿmar > al-Zuhrī > Sālim from his father

The Prophet ﷺ stood up beside the pulpit (and pointed with his finger towards the East) and said, "Afflictions are there! Afflictions are there, from where the side of the head of Satan comes out," or said, "..the side of the sun.."  

البخاري:٧٠٩٢حَدَّثَنِي عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ حَدَّثَنَا هِشَامُ بْنُ يُوسُفَ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ عَنْ سَالِمٍ عَنْ أَبِيهِ

عَنِ النَّبِيِّ ﷺ أَنَّهُ قَامَ إِلَى جَنْبِ الْمِنْبَرِ فَقَالَ الْفِتْنَةُ هَا هُنَا الْفِتْنَةُ هَا هُنَا مِنْ حَيْثُ يَطْلُعُ قَرْنُ الشَّيْطَانِ أَوْ قَالَ قَرْنُ الشَّمْسِ  


See similar narrations below:

Collected by Bukhārī, Ibn Ḥibbān
bukhari:3279ʿAbdullāh b. Maslamah > Mālik > ʿAbdullāh b. Dīnār > ʿAbdullāh b. ʿUmar

I saw Messenger of Allah ﷺ pointing towards the east saying, "Lo! Afflictions will verily emerge hence; afflictions will verily emerge hence where the (side of the head of) Satan appears."  

البخاري:٣٢٧٩حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ عَنْ مَالِكٍ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ؓ قَالَ

رَأَيْتُ رَسُولَ اللَّهِ ﷺ يُشِيرُ إِلَى الْمَشْرِقِ فَقَالَ هَا إِنَّ الْفِتْنَةَ هَا هُنَا إِنَّ الْفِتْنَةَ هَا هُنَا مِنْ حَيْثُ يَطْلُعُ قَرْنُ الشَّيْطَانِ  

ذِكْرُ الْإِخْبَارِ بِأَنَّ أَوَّلَ حَادِثَةٍ فِي هَذِهِ الْأُمَّةِ تَكُونُ مِنَ الْبَحْرَيْنِ

ibnhibban:6648ʿUmar b. Saʿīd b. Sinān > Aḥmad b. Abū Bakr > Mālik > ʿAbdullāh b. Dīnār > Ibn ʿUmar

I heard Messenger of Allah ﷺ as saying while pointing his hands towards the east: The turmoil would appear from this side; verily, the turmoil would appear from this side (he repeated it thrice) where appear the horns of Satan. (Using translation from Muslim 2905e)   

ابن حبّان:٦٦٤٨أَخْبَرَنَا عُمَرُ بْنُ سَعِيدِ بْنِ سِنَانٍ قَالَ أَخْبَرَنَا أَحْمَدُ بْنُ أَبِي بَكْرٍ عَنْ مَالِكٍ عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ عَنِ ابْنِ عُمَرَ

أَنَّهُ قَالَ رَأَيْتُ رَسُولَ اللَّهِ ﷺ يُشِيرُ نَحْوَ الْمَشْرِقِ وَيَقُولُ «هَا إِنَّ الْفِتْنَةَ هَاهُنَا إِنَّ الْفِتْنَةَ هَاهُنَا مِنْ حَيْثُ يَطْلُعُ قَرْنُ الشَّيْطَانِ»