"From Herod's dungeon, where in disappointment and perplexity concerning the Saviour's work, John the Baptist watched and waited, he sent two of his disciples to Jesus with the message: MH 34.1"
"Now when John had heard in the prison the works of Christ, he sent two of his disciples,"
Both passages describe John the Baptist in prison sending disciples to Jesus.
"“Art Thou He that should come, or do we look for another?” Matthew 11:3 . MH 34.2"
"And said unto him, Art thou he that should come, or do we look for another?"
This is a direct quotation of Matthew 11:3.
"The Saviour did not at once answer the disciples’ question. As they stood wondering at His silence, the afflicted were coming to Him. The voice of the Mighty Healer penetrated the deaf ear. A word, a touch of His hand, opened the blind eyes to behold the light of day, the scenes of nature, the faces of friends, and the face of the Deliverer. His voice reached the ears of the dying, and they arose in health and vigor. Paralyzed demoniacs obeyed His word, their madness left them, and they worshiped Him. The poor peasants and laborers, who were shunned by the rabbis as unclean, gathered about Him, and He spoke to them the words of eternal life. MH 34.3"
"Then the eyes of the blind shall be opened, and the ears of the deaf shall be unstopped."
The EGW passage describes Jesus's healing ministry, which directly fulfills the prophecy in Isaiah 35:5. The description of healing the blind and deaf is a clear echo of the prophetic verse.
"Then Jesus answering said unto them, Go your way, and tell John what things ye have seen and heard; how that the blind see, the lame walk, the lepers are cleansed, the deaf hear, the dead are raised, to the poor the gospel is preached."
The EGW passage describes Jesus's ministry and miracles, which are the very things Jesus tells John the Baptist to look for in Luke 7:22. The healing of the blind, lame, lepers, deaf, and raising of the dead are all present in both passages.