أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ ، أَخْبَرَنِي عَلِيُّ بْنُ مُحَمَّدٍ الْمَرْوَزِيُّ ، حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِكَ ، حَدَّثَنِي مُصْعَبُ بْنُ بِشْرٍ ، حَدَّثَنَا شَيْبَانُ بْنُ أَبِي شَيْبَانَ الْمُطَّوِّعِيُّ قَالَ قَالَ لِي مَعْدَانُ : يَا شَيْبَانُ ، لَا تُرِدْ بِعَمَلِكَ غَيْرَ اللَّهِ [ فَإِنَّ سُفْيَانَ الثَّوْرِيَّ قَالَ : يَا مَعْدَانُ ، لَا تُرِدْ بِعَمَلِكَ غَيْرَ اللَّهِ ] فَإِنَّهُ يَرَاهُ مِنَ الشِّرْكِ ، حَدَّثَنِي أَبُو الزُّبَيْرِ عَنْ جَابِرٍ قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " يَقُولُ اللَّهُ تَبَارَكَ وَتَعَالَى : مَنْ عَمِلَ عَمَلًا أَرَادَ بِهِ غَيْرِي فَأَنَا مِنْهُ بَرِيءٌ " .
It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Allah, the Blessed and Exalted, says: Whoever does a deed by which he intends someone other than Me, I am free of him."
Shayban bin Abi Shayban al-Muttawwi'i (may Allah have mercy on him) narrates that Ma'dan (may Allah have mercy on him) said to me: "O Shayban, do not intend anyone other than Allah by your deeds [for Sufyan al-Thawri (may Allah have mercy on him) said to me: 'O Ma'dan, do not intend anyone other than Allah by your deeds'], for he counted it as a form of shirk." (Then Ma'dan, may Allah have mercy on him, said:) Abu al-Zubayr (may Allah have mercy on him) narrated this hadith to me from Sayyiduna Jabir (may Allah be pleased with him).