أَخْبَرَنَا أَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو، ثنا أَبُو الْعَبَّاسِ، أنبأ الرَّبِيعُ، أنبأ الشَّافِعِيُّ، أنبا إِبْرَاهِيمُ، عَنْ هِشَامٍ، عَنِ الْحَسَنِ " أَنَّهُ كَانَ لَا يَرَى بَأْسًا أَنْ يَذْكُرَ اللهَ فِي نَفْسِهِ تَكْبِيرًا وَتَهْلِيلًا وَتَسْبِيحًا. قَالَ: وَأَنْبَأَ قَالَ: لَا أَعْلَمُ إِلَّا أَنَّ مَنْصُورَ بْنَ الْمُعْتَمِرِ أَخْبَرَنِي أَنَّهُ سَأَلَ إِبْرَاهِيمَ: أَتَقْرَأُ وَالْإِمَامُ يَخْطُبُ يَوْمَ الْجُمُعَةِ؟ فَقَالَ: " عَسَى أَنْ لَا يَضُرَّكَ ".
It is narrated from al-Hasan (may Allah have mercy on him) that he saw no harm in a person remembering Allah within himself (during the sermon) with takbir, tahlil and tasbih.
Mansur bin al-Mu'tamir (may Allah have mercy on him) asked Ibrahim (may Allah have mercy on him): Do you recite while the imam is delivering the sermon on Friday? He said: Perhaps it will not harm you.