Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 11 · Tithi, Nakshatra and Weekday Yogas; Good and Bad Times
तिथिनक्षत्रवारयोगाः शुभाशुभकालश्च
एकादशी द्वादशी च परेऽहनि न लभ्यते ।नोपोष्या सा महादोषा पुत्रपौत्रधनक्षयात् ॥ ५२ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 8, verse 52.
If Ekadashi and Dvadashi are not found on the next day, that fast is not to be kept. It is a great fault. It may bring grief over sons and grandsons, and loss of wealth.
Simple meaning: If neither day falls on the next day, do not fast then. It may bring loss.
एकादशी दशाविद्धा द्वादश्यां लिप्तिका यदा ।
If Ekadashi is mixed with the tenth and a trace touches Dvadashi, the next day matters.
तदा दिनद्वये त्याज्या पारणं च नियोगतः ।
Then leave it on both days. The break of the fast follows the rule.
चण्डातिथौ व्रतं चैव हंति पुण्यं पुरा कृतम् ।
A vow on a fierce day removes earlier merit. Breaking the fast on the thirteenth gives no merit.