It wasnarrated from 'Aishah that the Prophet (ﷺ) said:
"If a manstays among a people, he should not fast without their permission." (AR)
English reference (AR): Vol. 1, Book 7, Hadith 1763 (AR)
Arabic reference (AR): Book 7, Hadith 1835 (AR)