Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:8351Abū ʿAlī al-Ḥasan b. Aḥmad b. Ibrāhīm b. Shādhān> Ḥamzah b. Muḥammad b. al-ʿAbbās > ʿAbbās b. Muḥammad > ʿUbaydullāh / Ibn Mūsá > Isrāʾīl > Abū Isḥāq > Abū al-Aḥwaṣ > ʿAbdullāh b. Masʿūd

[Machine] If you wake up intending to fast, then you are in one of two conditions: if you wish, you can observe fasting; and if you wish, you can break your fast.  

البيهقي:٨٣٥١أَخْبَرَنَا أَبُو عَلِيٍّ الْحَسَنُ بْنُ أَحْمَدَ بْنِ إِبْرَاهِيمَ بْنِ شَاذَانَ بِبَغْدَادَ أنبأ حَمْزَةُ بْنُ مُحَمَّدِ بْنِ الْعَبَّاسِ ثنا عَبَّاسُ بْنُ مُحَمَّدٍ ثنا عُبَيْدُ اللهِ يَعْنِي ابْنَ مُوسَى أنبأ إِسْرَائِيلُ عَنْ أَبِي إِسْحَاقَ عَنْ أَبِي الْأَحْوَصِ عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ قَالَ

إِذَا أَصْبَحْتَ وَأَنْتَ تَنْوِي الصِّيَامَ فَأَنْتَ بِأَحَدِ النَّظَرَيْنِ إِنْ شِئْتَ صُمْتَ وَإِنْ شِئْتَ أَفْطَرْتَ