"Peter here used a figure of speech familiar to the priests. The prophets had spoken of the rejected stone; and Christ Himself, speaking on one occasion to the priests and elders, said: “Did ye never read in the Scriptures, The stone which the builders rejected, the same is become the head of the corner: this is the Lord's doing, and it is marvelous in our eyes? Therefore say I unto you, The kingdom of God shall be taken from you, and given to a nation bringing forth the fruits thereof. And whosoever shall fall on this stone shall be broken: but on whomsoever it shall fall, it will grind him to powder.” Matthew 21:42-44 . AA 64.1"
"Jesus saith unto them, Did ye never read in the scriptures, The stone which the builders rejected, the same is become the head of the corner: this is the Lord’s doing, and it is marvellous in our eyes? Therefore say I unto you, The kingdom of God shall be taken from you, and given to a nation bringing forth the fruits thereof. And whosoever shall fall on this stone shall be broken: but on whomsoever it shall fall, it will grind him to powder."
Ellen White directly references Matthew 21:42-44 in this passage.
"As the priests listened to the apostles’ fearless words, “they took knowledge of them, that they had been with Jesus.” AA 64.2"
"Now when they saw the boldness of Peter and John, and perceived that they were unlearned and ignorant men, they marvelled; and they took knowledge of them, that they had been with Jesus."
The EGW passage directly quotes Acts 4:13, indicating a clear and explicit allusion.