Sahih Bukhari
Fasting
Volume: 003 / Book Number: 031 / Hadith Number: 141
Narrated Sahl bin Saud:
When the following verses were revealed: 'Eat and drink until the white thread appears to you, distinct from the black thread' and of dawn was not revealed, some people who intended to fast, tied black and white threads to their legs and went on eating till they differentiated between the two. Allah then revealed the words, 'of dawn', and it became clear that meant night and day.