The Gospel narratives offer many different aspects of the Triumphal Entry. In Luke’s narrative, the disciples are singing the praises of Jesus at his coming, but the Pharisees are not pleased with their benediction.
In verse 39 of Luke 19, some of the Pharisees in the crowd said to him, “Teacher, rebuke your disciples.” In other words, “Stop them from pouring out adoration towards you.” As Matthew Henry writes, “Christ’s triumph and his disciples’ joyful praises of them, are the vexation of proud Pharisees, that are enemies to him and his kingdom.” Luke is the only one to report this response of the Pharisees. Jesus is sharing honor with God, and the Pharisees despise it. Jesus responds in verse 40 with that powerful and memorable response: “If these people were silent, the very stones would cry out.”
Some have viewed this statement to say that even if human beings do not praise God, the stones will do so. There is a sense in which this idea is true. When our Lord Jesus died, the gospels tell us that the earth shook, and the rocks were split, as if they uttered the praises of Christ. In other words, the stones were witnesses of the sacrifice of Christ. But in this passage, it appears that Luke is drawing an allusion to Habakkuk 2. In Habakkuk, God tells Habakkuk that He will destroy Israel at the hands of the Babylonians. God will use a wicked nation to bring justice to His chosen people who have committed far greater idolatry. In Habakkuk 2 we read, “For the stone will cry out from the wall, and the beam from the woodwork respond.” The stones refer to the stones of the temple. The temple represented God’s presence. The witness of the temple itself is against them. Jesus in Luke alludes to this passage. The prayer of Habakkuk is beginning to be answered. If my peoples are silenced, then the very stones will bring witness against you. Their house will oppose them.” The stones will cry out in judgment. And indeed, they do cry out in AD 70 when the Romans armies surround the Holy City and bring God’s judgment upon apostate Israel.
In our day, we can be sure that if this nation does not accept Jesus in our midst, the stones will cry out in judgment against it. Christ will be honored. He will be praised. He will be adored. Justice will be vindicated and proclaimed whether through human witnesses or the witness of stones. God’s whole creation will bless the Blessed one, Jesus Christ.
 Matthew Henry, Commentary on the Whole Bible. Luke 19:39 http://www.ccel.org/ccel/henry/mhc5.Luke.xx.html
 Matthew 27:51. Matthew Henry found this idea plausible.
 Steve Wilkins. Sermon.