It is narrated from Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) that a man came to the Prophet (peace and blessings be upon him) and said: "I am not able to learn the Qur'an, so what will suffice me?" He (peace and blessings be upon him) said: "Say: 'Glory be to Allah, all praise belongs to Allah, there is no power to avoid sin and no strength to do good except through Allah, there is no god but Allah, and Allah is the Greatest.'" The narrator said: The man gathered his five fingers and said: "Like this (that is, these five phrases); these are for Allah; what is there for me?" He (peace and blessings be upon him) said: "Say: 'O Allah, forgive me, have mercy on me, grant me well-being, guide me and provide for me.'" The narrator said: The man closed both his palms, and the Prophet (peace and blessings be upon him) said: "This man has filled both his hands with good."
Imam Sufyan (may Allah have mercy on him) said: "This was the way the Arabs counted."
Al-Mas'udi (Abd al-Rahman bin Ubaydullah bin Utbah bin Mas'ud) and al-Hajjaj bin Artah narrated this hadith from Ibrahim, and Abu Usamah and Umar bin Ali narrated it from Mis'ar.
Imam Ahmad (may Allah have mercy on him) narrated it from Abu Nu'aym; also through Waki' from Sufyan from Yazid al-Dalani, and through Yazid bin Harun from al-Mas'udi.
Imam Abu Dawud (may Allah have mercy on him) narrated it through Uthman bin Abi Shaybah from Waki' from Sufyan from Abu Khalid Yazid bin Abd al-Rahman al-Dalani.
Imam al-Nasa'i (may Allah have mercy on him) narrated it through Yusuf bin Isa and Mahmud bin Ghaylan from al-Fadl bin Musa from Mis'ar, and he said: "Ibrahim al-Saksaki (the narrator) is not that strong."
Imam Abu Hatim al-Busti (may Allah have mercy on him) narrated it from al-Fadl bin al-Hubab, from Ibrahim bin Bashshar, from Sufyan, from Mis'ar, up to "and Allah is the Greatest", and Sufyan said: "I think he also said: 'and there is no power and no strength except through Allah'"; and he narrated the complete hadith through Abu Ya'la al-Mawsili from Muhammad bin Abi Bakr al-Muqaddami from Umar bin Ali from Mis'ar.
Imam Muslim (may Allah have mercy on him) narrated a hadith of similar meaning through Mus'ab bin Sa'd bin Abi Waqqas (may Allah have mercy on him) from his father (Sayyiduna Sa'd, may Allah be pleased with him).
Related hadith on this topic