From the Prophet ﷺ with the same meaning, with the addition that he used to fast it except for a few days, rather he used to fast all of it.
ححدثنا موسى بن إسمعيل حدثنا حماد عن محمد بن عمرو عن أبي سلمة
عن النبي ﷺ بمعناه زاد كان يصومه إلا قليلا بل كان يصومه كله
No references are available.
[Its chain of transmission is hasan]Hammad is Ibn Salama.