Abu Musa Ashari reported,

We were with the Messenger of Allah ﷺ, and whenever we reached high ground overlooking a valley, we would proclaim the oneness of Allah and call out His greatness, raising our voices. The Prophet ﷺ said, "People, go easy on yourselves. You are not calling upon one who is deaf or absent. He is with you. He is All-Hearing and Near. Blessed is His name and exalted is His majesty."

Bukhari 2992

Sahih

حدثنا محمد بن يوسف حدثنا سفيان عن عاصم عن أبي عثمان

عن أبي موسى الأشعري رضي الله عنه قال

كنا مع رسول الله ﷺ فكنا إذا أشرفنا على واد هللنا وكبرنا ارتفعت أصواتنا فقال النبي ﷺ يا أيها الناس اربعوا على أنفسكم فإنكم لا تدعون أصم ولا غائبا إنه معكم إنه سميع قريب تبارك اسمه وتعالى جده

البخاري 2992صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Jihad and expeditions
Chapter
What is disliked of raising the voice in takbir
Numbering
Darussalam 2992
Bukhari 2992