When the Messenger of Allah ﷺ set out for the campaign of Khaybar, or he said, when the Messenger of Allah ﷺ set out, the people came in sight of a valley, and they raised their voices in takbir, saying, "Allahu akbar, Allahu akbar, la ilaha illa Allah."The Messenger of Allah ﷺ said, "Go easy on yourselves. You are not calling upon one who is deaf or absent. You are calling upon one who hears and is near, and He is with you."I was behind the mount of the Messenger of Allah ﷺ, and he heard me saying, "There is no power and no strength except with Allah."He said to me, "Abdullah bin Qays."I replied, "At your service, Messenger of Allah."He said, "Shall I direct you to a word from one of the treasures of Paradise?"I said, "Yes, Messenger of Allah, may my father and mother be your ransom."He said, "It is, 'There is no power and no strength except with Allah.'"
لما غزا رسول الله ﷺ خيبر أو قال: لما توجه رسول الله ﷺ أشرف الناس على واد، فرفعوا بالتكبير: الله أكبر، الله أكبر، لا إله إلا الله. فقال رسول الله ﷺ: اربعوا على أنفسكم، إنكم لا تدعون أصم ولا غائبا، إنكم تدعون سميعا قريبا وهو معكم، وأنا خلف دابة رسول الله ﷺ فسمعني وأنا أقول: لا حول ولا قوة إلا بالله. فقال لي: يا عبد الله بن قيس قلت: لبيك يا رسول الله قال: ألا أدلك على كلمة من كنز من كنوز الجنة؟ قلت: بلي يا رسول الله، فداك أبي وأمي، قال: لا حول ولا قوة إلا بالله.
Bukhari narrated it in the Book of Military Expeditions (4202), and Muslim in the Book of Remembrance and Supplication (2704), both of them through Asim (that is, Ahwal), from Abu Uthman (that is, Nahdi), from Abu Musa Ashari, who related it.