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:4422Abū al-ʿAbbās > al-Rabīʿ > al-Shāfiʿī > Sufyān > ʿAmmār al-Duhnī > Abū Saʿīd

[Machine] And Abu Abdullah al-Hafiz narrated that Abu al-Abbas narrated that Ar-Rabi' narrated that Ash-Shafi'i narrated that Sufyan narrated from Ammar ad-Duhani from Abu Sa'eed that Al-Hasan and Al-Husain circled (around the Kaaba) after Asr prayer and then they prayed.  

البيهقي:٤٤٢٢

وَأنبأ أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْعَبَّاسِ أنبأ الرَّبِيعُ أنبأ الشَّافِعِيُّ أنبأ سُفْيَانُ عَنْ عَمَّارٍ الدُّهْنِيِّ عَنْ أَبِي سَعِيدٍ أَنَّ الْحَسَنَ وَالْحُسَيْنَ طَافَا بَعْدَ الْعَصْرِ وَصَلَّيَا