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.
bayhaqi:6865Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Abū Bakr Yaḥyá b. Abū Ṭālib > Abū Dāwud > Qays b. al-Rabīʿ > ʿĀṣim Ibn Bahdalah > Ziyād b. Qays al-Ashʿarī > Atayt al-Madīnah Faraʾayt

[Machine] I came to the city and saw the companions of the Messenger of Allah ﷺ from the migrants and the supporters walking in front of the funeral.  

البيهقي:٦٨٦٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا أَبُو بَكْرٍ يَحْيَى بْنُ أَبِي طَالِبٍ ثنا أَبُو دَاوُدَ ثنا قَيْسُ بْنُ الرَّبِيعِ عَنْ عَاصِمِ ابْنِ بَهْدَلَةَ عَنْ زِيَادِ بْنِ قَيْسٍ الْأَشْعَرِيِّ قَالَ

أَتَيْتُ الْمَدِينَةَ فَرَأَيْتُ أَصْحَابَ رَسُولِ اللهِ ﷺمِنَ الْمُهَاجِرِينَ وَالْأَنْصَارِ يَمْشُونَ أَمَامَ الْجِنَازَةِ