Abu Saeed Khudri reported,

He said to him, "I see that you love sheep and the wilderness. When you are with your flock in the open country and the time for prayer comes, raise your voice with the call to prayer, for no jinn, human, or anything else within range of the muezzin's voice hears it without bearing witness for him on the Day of Resurrection."Abu Saeed said, "I heard this from the Messenger of Allah ﷺ."

Bukhari 3296

Sahih

حدثنا قتيبة عن مالك عن عبد الرحمن بن عبد الله بن عبد الرحمن بن أبي صعصعة الأنصاري عن أبيه أنه أخبره أن

أبا سعيد الخدري رضي الله عنه قال

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

البخاري 3296صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Beginning of creation
Chapter
Jinn, their reward, and their punishment
Numbering
Darussalam 3296