Sahl bin Saad reported,

The verse was revealed as "And eat and drink until the white thread becomes distinct to you from the black thread" [Baqarah 2:187], and the words "of the dawn" had not yet been sent down. So there were men who, when they wished to fast, would tie a white thread and a black thread to their legs, and one would keep eating until he could clearly see the two of them. Then Allah afterward revealed the words "of the dawn" [Baqarah 2:187], and they understood that what was meant was simply night and day.

Azami 4546

Sahih

عن سهل بن سعد، قال

أنزلت: {وكلوا واشربوا حتى يتبين لكم الخيط الأبيض من الخيط الأسود}. ولم ينزل {من الفجر}، فكان رجال إذا أرادوا الصوم ربط أحدهم في رجله الخيط الأبيض والخيط الأسود، ولم يزل يأكل حتى يتبين له رؤيتهما، فأنزل الله بعد من {الفجر} فعلموا أنه إنما يعني الليل والنهار.

الأعظمي 4546صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
What is permitted and what is not permitted for the fasting person
Section
Abstaining from food, drink, and intercourse from the rising of Fajr until sunset
Numbering
Jami al-Kamil 4546 (2nd edition)
Azami 4546