"Peter, on the Day of Pentecost, quoted this prophecy in explanation of the wonderful scene which then occurred. Cloven tongues like as of fire sat upon each of the disciples; they were filled with the holy spirit, and spake with other tongues. And when the mockers charged that they were filled with new wine, Peter answered, “These are not drunken, as ye suppose, seeing it is but the third hour of the day. But this is that which was spoken by the prophet Joel.” Then he quotes the prophecy substantially as found in Joel (quoted above), only he puts the words “in the last days,” in the place of “Afterward,” making it read, “and it shall come to pass in the last days, saith God, I will pour out of My Spirit,” etc. PP 22.1"
"But this is that which was spoken by the prophet Joel;"
The EGW passage directly references Peter's quotation of Joel in Acts 2:16, making it an explicit allusion.
"It is evident that it was that part of the prophecy only which relates to the outpouring of the Spirit, that began to be fulfilled on that day; for there were no old men there dreaming dreams, nor young men and maidens seeing visions and prophesying; and no wonders of blood and fire and pillars of smoke then appeared; and the sun was not darkened and the moon was not turned to blood at that time; and yet what was there witnessed was in fulfillment of the prophecy of Joel. It is equally evident that this part of the prophecy concerning the outpouring of the Spirit was not exhausted in that one manifestation; for the prophecy covers all days from that time on to the coming of the great day of the Lord. PP 22.2"
"And it shall come to pass afterward, that I will pour out my spirit upon all flesh; and your sons and your daughters shall prophesy, your old men shall dream dreams, your young men shall see visions:"
EGW directly references Joel 2:28 and discusses its fulfillment on the day of Pentecost, explicitly mentioning specific elements of the prophecy (dreams, visions, prophesying, signs in the heavens) and arguing that the initial fulfillment did not exhaust the prophecy's scope.
"But this is that which was spoken by the prophet Joel; And it shall come to pass in the last days, saith God, I will pour out of my Spirit upon all flesh: and your sons and your daughters shall prophesy, and your young men shall see visions, and your old men shall dream dreams: And on my servants and on my handmaidens I will pour out in those days of my Spirit; and they shall prophesy: And I will shew wonders in heaven above, and signs in the earth beneath; blood, and fire, and vapour of smoke: The sun shall be turned into darkness, and the moon into blood, before that great and notable day of the Lord come: And it shall come to pass, that whosoever shall call on the name of the Lord shall be saved."
The EGW passage directly references and interprets the prophecy of Joel as quoted in Acts 2, discussing its fulfillment on the day of Pentecost and its ongoing relevance. This is a clear and direct allusion.
"But the Day of Pentecost was in fulfillment of other prophecies besides that of Joel. It fulfilled the words of Christ Himself as well. In His last discourse to His disciples before His crucifixion, He said to them: “I will pray the Father, and He shall give you another Comforter, ... Even the Spirit of truth.” John 14:16, 17 . “But the Comforter, which is the Holy Ghost, whom the Father will send in My name, He shall teach you all things.” Verse 26 . “Howbeit when He, the Spirit of truth, is come, He will guide you into all truth.” Chapter 16:13 . And after Christ had risen from the dead, He said to the disciples, “Behold, I send the promise of my Father upon you: But tarry ye in the city of Jerusalem, until ye be endued with power from on high.” Luke 24:49 . PP 22.3"
"But the Comforter, which is the Holy Ghost, whom the Father will send in my name, he shall teach you all things, and bring all things to your remembrance, whatsoever I have said unto you."
The EGW passage directly quotes John 14:26 and other verses related to the promise of the Holy Spirit, making it an explicit allusion.
"And, behold, I send the promise of my Father upon you: but tarry ye in the city of Jerusalem, until ye be endued with power from on high."
Ellen White directly references Luke 24:49 in this passage.