Dreaming of eating the bitter fruit of the medlar tree may indicate a sign of illness. If you see this fruit in a raw or rotten state in your dream, it suggests concerns about your physical or mental health. Such dreams serve as a warning that you need to take care of your body and mind. Depending on the taste and condition of the fruit, you might be facing some uncomfortable situations in your life.
From Imam Muhammad Ibn Seerin's Dictionary of Dreams According to Islamic Inner Traditions â entry "Medlartree" (page 273).
Eating a bitter tasting applelike fruit of the medlar tree or any of such varieties that are also used in making preserves, or eaten yellow, spoiled, or unripened in a dream means a sickness. The more yellowish is its color in the dream, the more pain and suffering such an sickness will bring. Eating a green medlar fruit in a dream represents no such danger. Eating any yellowish fruit in a dream represents a sickness, except for citron, apples, or the lotus fruit, for their yellow color in the dream does not cause any harm, since their substance is a viable medicinal cure.
Note: Islamic dream interpretation depends on the dreamer's circumstances and state. This is a general guide drawn directly from the source book.