Language:
كتاب الصوم
30  
Fasting
(21)
Chapter: If the intention of Saum was made in the daytime.
(21)
باب إِذَا نَوَى بِالنَّهَارِ صَوْمًا
Sahih al-Bukhari 1924

Narrated Salama bin Al-Akwa`:

Once the Prophet (ﷺ) ordered a person on 'Ashura' (the tenth of Muharram) to announce, "Whoever has eaten, should not eat any more, but fast, and who has not eaten should not eat, but complete his fast (till the end of the day).

حَدَّثَنَا أَبُو عَاصِمٍ، عَنْ يَزِيدَ بْنِ أَبِي عُبَيْدٍ، عَنْ سَلَمَةَ بْنِ الأَكْوَعِ ـ رضى الله عنه ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم بَعَثَ رَجُلاً يُنَادِي فِي النَّاسِ، يَوْمَ عَاشُورَاءَ ‏ "‏ أَنْ مَنْ أَكَلَ فَلْيُتِمَّ أَوْ فَلْيَصُمْ، وَمَنْ لَمْ يَأْكُلْ فَلاَ يَأْكُلْ ‏"‏‏.‏
Reference : Sahih al-Bukhari 1924
In-book reference : Book 30, Hadith 33
USC-MSA web (English) reference : Vol. 3, Book 31, Hadith 147
  (deprecated numbering scheme)