D'fhág is the past tense of the regular verb fág, meaning leave.
Verbs are generally lenited in the past tense in Irish and d' is prefixed to those beginning with a vowel or with the consonant f:
In spoken Munster Irish, do is also often prefixed to verbs in the past tense beginning consonants other than f: