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.
darimi:2203Muḥammad b. Mihrān > Miskīn al-Ḥarrānī > Jaʿfar b. Burqān > Yazīd b. al-Aṣam > al-ʿAbbās b. ʿAbd al-Muṭṭalib

[Machine] It seemed as if the sun or the moon was suspended on the Earth, with strong chains. Abu Ja'far had doubts about it, so he mentioned that to the Prophet Muhammad, peace be upon him. The Prophet replied, "That is the death of your nephew, meaning the Messenger of Allah himself."  

الدارمي:٢٢٠٣أَخْبَرَنَا مُحَمَّدُ بْنُ مِهْرَانَ حَدَّثَنَا مِسْكِينٌ الْحَرَّانِيُّ عَنْ جَعْفَرِ بْنِ بُرْقَانَ عَنْ يَزِيدَ بْنِ الْأَصَمِّ عَنْ الْعَبَّاسِ بْنِ عَبْدِ الْمُطَّلِبِ فَقَالَ رَأَيْتُ فِي الْمَنَامِ

كَأَنَّ شَمْسًا أَوْ قَمَرًا شَكَّ أَبُو جَعْفَرٍ فِي الْأَرْضِ تُرْفَعُ إِلَى السَّمَاءِ بِأَشْطَانٍ شِدَادٍ فَذَكَرَ ذَلِكَ لِلنَّبِيِّ ﷺ فَقَالَ «ذَاكَ وَفَاةُ ابْنِ أَخِيكَ يَعْنِي رَسُولُ اللَّهِ ﷺ نَفْسَهُ»