3 man who fasted 40 days are mentioned in the Bible: Moses, Elijah and Jesus Christ.
Moses, the law giver, was so transformed by God’s presence that his face shone from the glory of God. Elijah, the prophet, the one who heard the voice of God, cured the lepers and raised the dead. Both of them come to converse with Christ, during transfiguration on Mount Tabor, while the surroundings are entangled with the clouds. A momentary foretaste of the future glory.