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:5771Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Ibn ʿUyaynah > Ibn Abū Najīḥ

[Machine] In his statement "{And We have raised your remembrance for you}" [Al-Sharh 4], he said, "I am not remembered except that you are remembered, I bear witness that there is no god but Allah and I bear witness that Muhammad is the Messenger of Allah." And it is mentioned from Muhammad ibn Ka'b Al-Quradhi similar to that.  

البيهقي:٥٧٧١أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ ابْنُ عُيَيْنَةَ عَنِ ابْنِ أَبِي نَجِيحٍ عَنْ مُجَاهِدٍ

فِي قَوْلِهِ {وَرَفَعْنَا لَكَ ذِكْرَكَ} [الشرح 4] قَالَ لَا أُذْكَرُ إِلَّا ذُكِرْتَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا رَسُولُ اللهِ وَيُذْكَرُ عَنْ مُحَمَّدِ بْنِ كَعْبٍ الْقُرَظِيِّ مِثْلُ ذَلِكَ