Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) says: Fadikh (a date drink) was brought to the Prophet (peace and blessings be upon him) in "Masjid al-Fadikh", and he drank it, so it (that is, the mosque) was given this name.
Ahmad and Abu Ya'la recorded it, and its wording is: A jar of fadikh that was fermenting was brought to the Prophet (peace and blessings be upon him) while the Prophet (peace and blessings be upon him) was in Masjid al-Fadikh, and he drank it; it is for this reason that this mosque was named "Masjid al-Fadikh". The chain of this narration contains a narrator, Abdullah bin Nafi', whom Bukhari (may Allah have mercy on him), Abu Hatim and al-Nasa'i (may Allah have mercy on him) declared da'if (weak); Yahya bin Ma'in said: His hadith may be written down.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 2022