أَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ، أنبأ سُلَيْمَانُ بْنُ أَحْمَدَ بْنِ أَيُّوبَ الطَّبَرَانِيُّ، ثنا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ، ثنا أَبُو نُعَيْمٍ، عَنِ الثَّوْرِيِّ، عَنْ عَبْدِ اللهِ بْنِ مُحَمَّدِ بْنِ عَقِيلٍ، عَنِ ابْنِ الْحَنَفِيَّةِ، عَنْ عَلِيٍّ رَفَعَهُ إِلَى النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: " مِفْتَاحُ الصَّلَاةِ الطَّهُورُ، وَإِحْرَامُهَا التَّكْبِيرُ، وَإِحْلَالُهَا التَّسْلِيمُ " قَالَ الشَّافِعِيُّ رَحْمَةُ اللهِ عَلَيْهِ فِي الْقَدِيمِ: وَكَذَلِكَ رُوِيَ عَنِ ابْنِ مَسْعُودٍ.
It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The key to prayer is ablution, its beginning is the takbir, and its exit is the salam."
Imam al-Shafi'i (may Allah have mercy on him) said in his old opinion (al-qawl al-qadim) that the same has been reported from Sayyiduna Ibn Mas'ud (may Allah be pleased with him).