Daniel was forbidden by unjust laws which were contrary to what God had said, to ask a petition from anyone for thirty days except from king Darius. Knowing well his books, and being versed in the word of God, he heeded not the voice even of the king who spoke averse to his Heavenly Father, so he continued offering his prayers three times each day while the windows were open toward Jerusalem. He was reported, and arrested, but continued to trust his God, and was then put into the lion’s den to be devoured, but God sent His angel and delivered him. See Daniel chapter 6.