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:8170Abū al-Ḥasan ʿAlī b. ʿAbdullāh b. ʿAlī al-Khusrawajurdī > Abū Bakr al-Ismāʿīlī > Abū Jaʿfar al-Ḥaḍramī > Aḥmad b. ʿAbdullāh b. Yūnus > al-Ḥasan b. Ṣāliḥ > ʿĀṣim > Anas

[Machine] If I break my fast, the permission of Allah is required. And if I fast, it is better. This was narrated by Hassan ibn Salih with a reliable chain of narration. Nothing else is mentioned.  

البيهقي:٨١٧٠أَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ عَبْدِ اللهِ بْنِ عَلِيٍّ الْخُسْرَوَجُرْدِيُّ أنبأ أَبُو بَكْرٍ الْإِسْمَاعِيلِيُّ أنبأ أَبُو جَعْفَرٍ الْحَضْرَمِيُّ ثنا أَحْمَدُ بْنُ عَبْدِ اللهِ بْنِ يُونُسَ ثنا الْحَسَنُ بْنُ صَالِحٍ عَنْ عَاصِمٍ عَنْ أَنَسٍ قَالَ

إِنْ أَفْطَرْتُ فَرُخْصَةُ اللهِ وَإِنْ صُمْتُ فَهُوَ أَفْضَلُ وَرُوِيَ ذَلِكَ عَنْ حَسَنِ بْنِ صَالِحٍ بِإِسْنَادِهِ مَرْفُوعًا وَلَيْسَ بِشَيْءٍ