وَأَخْبَرَنَا أَبُو مُحَمَّدِ بْنُ يُوسُفَ ، قَالَ : سَمِعْتُ أَبَا الْحُسَيْنَ بْنَ أَحْمَدَ بْنِ زَكَرِيَّا الْأَدِيبَ بِهَمْذَانَ ، يَقُولُ : سَمِعْتُ أَبَا الْحَسَنِ عَلِيَّ بْنَ عَبْدِ اللَّهِ يَقُولُ : سَمِعْتُ أَحْمَدَ بْنَ يَحْيَى ثَعْلَبٌ ، يَقُولُ : سَمِعْتُ ابْنَ الْأَعْرَابِيِّ يَقُولُ : نِيَّةُ الْمُؤْمِنِ خَيْرٌ مِنْ عَمَلِهِ ؛ لِأَنَّ النِّيَّةَ لَا يَدْخُلُهَا الْفَسَادُ وَالْعَمَلَ يَدْخُلُهُ الْفَسَادُ .
وَإِنَّمَا أَرَادَ بِالْفَسَادِ بِالرِّيَاءِ فَيَرْجِعُ ذَلِكَ إِلَى مَا قَالَ الْأُسْتَاذُ أَبُو سَهْلٍ .
وَقَدْ قِيلَ : النِّيَّةُ دُونَ الْعَمَلِ قَدْ تَكُونُ طَاعَةً ، قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " مَنْ هَمَّ بِحَسَنَةٍ فَلَمْ يَعْمَلْهَا كُتِبَتْ لَهُ حَسَنَةً " .
قَالُوا : وَالْعَمَلُ دُونَ النِّيَّةِ لَا يَكُونُ طَاعَةً .
Ibn al-A'rabi (may Allah have mercy on him) said: "The intention of the believer is better than his deed, because corruption does not enter intention, while corruption does enter the deed."
By corruption he meant showing off, so this goes back to what Ustadh Abu Sahl (may Allah have mercy on him) said.
It has also been said that intention without a deed is sometimes counted as obedience; thus the Prophet (peace and blessings be upon him) said: "Whoever intends a good deed but does not do it, a good deed is written for him."
The scholars said: "And a deed without intention does not become obedience."