When this verse was revealed, "And eat and drink until the white thread becomes distinct to you from the black thread" [Baqarah 2:187], a man who intended to fast would tie a black thread and a white thread to his legs, and he would continue eating and drinking until he could distinguish between them by sight.Then Allah revealed afterward, "of the dawn" [Baqarah 2:187], so they understood that what was meant was night and day.
حدثني محمد بن سهل التميمي وأبو بكر بن إسحق قالا حدثنا ابن أبي مريم أخبرنا أبو غسان حدثني أبو حازم
لما نزلت هذه الآية {وكلوا واشربوا حتى يتبين لكم الخيط الأبيض من الخيط الأسود} قال فكان الرجل إذا أراد الصوم ربط أحدهم في رجليه الخيط الأسود والخيط الأبيض فلا يزال يأكل ويشرب حتى يتبين له رئيهما فأنزل الله بعد ذلك {من الفجر} فعلموا أنما يعني بذلك الليل والنهار