Background
Praying toward Jerusalem
Background to Daniel 6 and 9
In exile Daniel prayed three times a day with his windows open toward Jerusalem (6:10), though the city and its temple lay in ruins. He was following Solomon's prayer at the temple's dedication. Solomon asked that if Israel sinned and was carried off to an enemy's land, and then repented and prayed toward the land, the city and the house of God, the LORD would hear and forgive (1 Kings 8:46–50).
David too spoke of praying evening, morning and noon (Ps 55:17). Daniel's great prayer in chapter 9 came about the time of the evening sacrifice (9:21), though no sacrifice could be offered in Jerusalem then.
Daniel's prayer in chapter 9 follows Solomon's pattern closely. He confesses the people's sin, owns that God is righteous in sending the exile, and pleads for mercy for the sake of the LORD's own name and city (9:4–19).
In Scripture
Daniel 6:10–13; 9:3–21