Muhammad bin Wasi' (may Allah have mercy on him) relates: "I came to Makkah and there I met Salim bin Abdullah bin Umar bin al-Khattab (may Allah have mercy on him), and he narrated to me from his father (Sayyiduna Abdullah bin Umar (may Allah be pleased with them both)), from his grandfather Sayyiduna Umar (may Allah be pleased with him), that the Messenger of Allah (peace and blessings be upon him) said: 'Whoever enters the market and then says: "None has the right to be worshipped except Allah, alone, without partner. His is the kingdom and His is all praise. He gives life and causes death, and He Himself is Ever-Living and will not die. In His hand is all good, and He has perfect power over all things.", Allah Almighty writes for him a million good deeds, erases from him a million sins, raises him a million degrees, and a house is built for him in Paradise.' Muhammad bin Wasi' (may Allah have mercy on him) said: 'Then I came to Khurasan, went to Qutaybah bin Muslim (may Allah have mercy on him) and said: I have brought you a gift. Then I narrated this hadith to him. (After that his practice was that) Qutaybah bin Muslim would ride in his royal procession (to the market, only to recite this supplication), recite it, and then go back.'"
Imam Ahmad (may Allah have mercy on him) narrated it in his Musnad through Abu Sa'id, Hammad bin Zayd, Amr bin Dinar (the freed slave of the family of al-Zubayr), Salim and his father, from Sayyiduna Umar (may Allah be pleased with him).
Abu Nu'aym Ahmad bin Abdullah (may Allah have mercy on him) mentioned that Imam Ahmad (may Allah have mercy on him) also narrated it from Yazid bin Harun, but I did not see it in his Musnad, and it is possible that he narrated it in a book other than the Musnad. And Allah knows best.
Imam al-Tirmidhi (may Allah have mercy on him) narrated it from Ahmad bin Mani' and Ahmad bin Abdah al-Dabbi, from Hammad bin Zayd and al-Mu'tamir bin Sulayman, from Amr bin Dinar (the steward of the family of al-Zubayr), from Salim, and he said: "This hadith is gharib."
Imam Ibn Majah (may Allah have mercy on him) narrated it through Bishr bin Mu'adh al-Darir and Hammad bin Zayd from Amr, and also through Ali bin Muhammad, Waki', Kharijah bin Mus'ab and Abu Yahya Amr bin Dinar, but he did not mention Sayyiduna Umar (may Allah be pleased with him) in his chain.
Imam al-Hakim (may Allah have mercy on him) narrated it in al-Mustadrak through Abu Bakr Isma'il bin Muhammad al-Faqih and Abu Ahmad Bakr bin Muhammad al-Sayrafi, from al-Harith bin Abi Usamah, from Yazid bin Harun.