When the Messenger of Allah ﷺ set out for the campaign of Khaybar, or as he put it, when the Messenger of Allah ﷺ was traveling, the people came in sight of a valley and raised their voices with the takbir, calling out, "Allah is the Greatest, Allah is the Greatest, there is no god but Allah."The Messenger of Allah ﷺ said, "Go easy on yourselves. You are not calling upon someone deaf or absent. You are calling upon One who hears and is near, and He is with you."I was behind the Messenger of Allah's ﷺ mount, 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 show you a phrase that is one of the treasures of Paradise?"I said, "Yes, Messenger of Allah, may my father and mother be ransomed for you."He said, "There is no power and no strength except with Allah."In another narration, "The One you are calling upon is closer to one of you than the neck of his own riding camel."
لما غزا رسول الله ﷺ خيبر- أو قال: لما توجه رسول الله ﷺ- أشرف الناس على واد، فرفعوا أصواتهم بالتكبير: الله أكبر الله أكبر، لا إله إلا الله. فقال رسول الله ﷺ: اربعوا على أنفسكم، إنكم لا تدعون أصم ولا غالبا، إنكم تدعون سميعا قريبا وهو معكم. وأنا خلف دابة رسول الله ﷺ فسمعني وأنا أقول لا حول ولا قوة إلا بالله، فقال لي: يا عبد الله بن قيس، قلت: لبيك رسول الله. قال: ألا أدلك على كلمة من كنز من كنوز الجنة؟ قلت: بلى يا رسول الله فداك أبي وأمي. قال: لا حول ولا قوة إلا بالله. وفي رواية: والذي تدعونه أقرب إلى أحدكم من عنق راحلة أحدكم.
Bukhari related it in Maghazi (4202) and Muslim in Dhikr wa Duaa (44:2704), both through Asim (that is, Ahwal), from Abu Uthman (that is, Nahdi), from Abu Musa, who said, then he mentioned it. The first wording is Bukhari's, and the second wording is Muslim's (2704:47), through Khalid Haddan, from Abu Uthman, from Abu Musa Ashari, with it.