Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 10 · Months, the Adhika Masa and Tithi Rules
मासाधिमासतिथिनिर्णयः
रात्रियोगे तु संपूर्णा सोपास्यैकादशी सदा ।सप्तमी शुक्लपक्षेऽपि पूज्या षष्ठ्या समन्विता ॥ ३५ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 7, verse 35.
If the joining is at night, the full Ekadashi is always to be fasted on. Saptami in the bright half too is to be honoured when it is joined with Shashthi.
Simple meaning: With a night joining, the full Ekadashi is kept. A bright-half seventh joined with the sixth is honoured too.
निशि तु स्याद्यदा षष्ठी सप्तमी नवमी दिवा ।
When the sixth falls at night and the seventh by day, fast on the sixth alone to please the Sun.
एवं त्रयोदशीं कृष्णां विधिप्राप्तां विना द्विजाः ।
A fast on the dark thirteenth may please Shiva, even when the rule is not met.
दिवा त्रयोदशीयुक्ता कृष्णोपोष्या चतुर्दशी ।
Fast on the dark fourteenth joined with the thirteenth. Do not do it on the new moon.