Shadrach, Meshach and Abednego were three Jewish men thrown into a fiery furnace by Nebuchadnezzar, king of Babylon, when they refused to bow down to the king's image according to chapter 3 of the Book of Daniel. The three are preserved from harm and the king sees four men walking in the flames, "the form of the fourth is like the Son of God".
The first six chapters of Daniel are stories dating from the late Persian/early Hellenistic period, and Daniel's absence from the story of the Hebrew children in the fiery furnace suggests that it may originally have been independent. It forms a pair with the story of Daniel in the lions' den, both making the point that the God of the Jews will deliver those who are faithful to him.
King Nebuchadnezzar set up a golden image in the plain of Dura (a word meaning simply "plain") and commanded that all his officials bow down before it. All who failed to do so would be thrown into a blazing furnace. Certain officials informed the king that the three Jewish youths Hanania, Mishael, and Azaria, who bore the Babylonian names Shadrach, Meshach, and Abednego, and whom the king had appointed to high office in Babylon, were refusing to worship the golden statue. The three were brought before Nebuchadnezzar, where they informed the king that their God would be with them. Nebuchadnezzar commanded that they be thrown into the fiery furnace, heated seven times hotter than normal, but when the king looked he saw four figures, and not three, walking unharmed in the flames. Seeing this, Nebuchadnezzar brought the youths out of the flames and promoted them to high office, decreeing that anyone who spoke against their God should be torn limb from limb.
It is generally accepted that the Book of Daniel originated as a collection of folktales among the Jewish community in Babylon and Mesopotamia in the Persian and early Hellenistic periods (5th to 3rd centuries BCE), expanded by the visions of chapters 7-12 in the Maccabean era (mid-2nd century). Modern scholarship agrees that Daniel is a legendary figure. It is possible that the name was chosen for the hero of the book because of his reputation as a wise seer in Hebrew tradition. The tales are in the voice of an anonymous narrator, except for chapter 4 which is in the form of a letter from king Nebuchadnezzar. Chapter 3 is unique in that Daniel does not appear in it.