Abu Hurairah reported,

The Messenger of Allah ﷺ said, "If people knew the reward in the call to prayer and the first row, and they could find no way to obtain it except by drawing lots, they would draw lots for it. If they knew the reward in coming early to prayer, they would race one another to it. And if they knew the reward in the night prayer and the dawn prayer, they would come to them even if they had to crawl."

Bukhari 2689

Sahih

حدثنا إسماعيل قال حدثني مالك عن سمي مولى أبي بكر عن أبي صالح

عن أبي هريرة رضي الله عنه

أن رسول الله ﷺ قال لو يعلم الناس ما في النداء والصف الأول ثم لم يجدوا إلا أن يستهموا عليه لاستهموا ولو يعلمون ما في التهجير لاستبقوا إليه ولو يعلمون ما في العتمة والصبح لأتوهما ولو حبوا

البخاري 2689صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Testimonies
Chapter
Drawing lots in difficult matters
Numbering
Darussalam 2689
Bukhari 2689