Language:
كتاب الصوم
30  
Fasting
(11)
Chapter: "Start observing Saum on seeing the crescent of Ramadan, and stop on seeing the crescent (of Shawwal)."
(11)
بَابُ قَوْلِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا رَأَيْتُمُ الْهِلاَلَ فَصُومُوا وَإِذَا رَأَيْتُمُوهُ فَأَفْطِرُوا»
Sahih al-Bukhari 1910

Narrated Um Salama:

The Prophet (ﷺ) vowed to keep aloof from his wives for a period of one month, and after the completion of 29 days he went either in the morning or in the afternoon to his wives. Someone said to him "You vowed that you would not go to your wives for one month." He replied, "The month is of 29 days."

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