What do you mean by allegory?
The phrase "three days and three nights" is a Hebrew idiom which means a portion of time covering roughly what we would think of as three days.
In Luke 24 is the post-resurrection account of Jesus walking with the disciples after His resurrection. We are told that it was the first day of the week (v. 1), and we are also told in that account that "it was the third day" after the events in Jerusalem beginning with the trial and crucifixion (v. 21).
Using this set of facts, the Hebrews of Jesus day would have understood Friday as the first day, Saturday as the second day, and Sunday as the third day.
“What do you mean by allegory?”
You cannot get teh specific three days and threes nights as prophsied by Jesus (Matt 12:39-40) with a Friday afternoon burial. Can’t happen. He rose before sunrise on Sunday.
“What do you mean by allegory?”
Allegory is a form of extended metaphor, in which objects, persons, and actions in a narrative, are equated with the meanings that lie outside the narrative itself. The underlying meaning has moral, social, religious, or political significance, and characters are often personifications of abstract ideas as charity, greed, or envy.
Thus an allegory is a story with two meanings, a literal meaning and a symbolic meaning.