"Upon the last evening of his stay the brethren “came together to break bread.” The fact that their beloved teacher was about to depart, had called together a larger company than usual. They assembled in an “upper chamber” on the third story. There, in the fervency of his love and solicitude for them, the apostle preached until midnight. AA 391.2"
"And upon the first day of the week, when the disciples came together to break bread, Paul preached unto them, ready to depart on the morrow; and continued his speech until midnight."
EGW directly references and elaborates on the events described in Acts 20:7, including the gathering of the brethren, the breaking of bread, and Paul's preaching until midnight.
"In one of the open windows sat a youth named Eutychus. In this perilous position he went to sleep and fell to the court below. At once all was alarm and confusion. The youth was taken up dead, and many gathered about him with cries and mourning. But Paul, passing through the frightened company, embraced him and offered up an earnest prayer that God would restore the dead to life. His petition was granted. Above the sound of mourning and lamentation the apostle's voice was heard, saying, “Trouble not yourselves; for his life is in him.” With rejoicing the believers again assembled in the upper chamber. They partook of the Communion, and then Paul “talked a long while, even till break of day.” AA 391.3"
"And there sat in a window a certain young man named Eutychus, being fallen into a deep sleep: and as Paul was long preaching, he sunk down with sleep, and fell down from the third loft, and was taken up dead."
EGW's account of Eutychus falling asleep and falling from the window, Paul's intervention, and the subsequent events closely follows the narrative in Acts 20:9.
"The ship on which Paul and his companions were to continue their journey, was about to sail, and the brethren hastened on board. The apostle himself, however, chose to take the nearer route by land between Troas and Assos, meeting his companions at the latter city. This gave him a short season for meditation and prayer. The difficulties and dangers connected with his coming visit to Jerusalem, the attitude of the church there toward him and his work, as well as the condition of the churches and the interests of the gospel work in other fields, were subjects of earnest, anxious thought, and he took advantage of this special opportunity to seek God for strength and guidance. AA 391.4"
"And when he had sent the multitudes away, he went up into a mountain apart to pray: and when the evening was come, he was there alone."
Both passages describe a figure (Paul and Jesus) seeking solitude for prayer and reflection before facing challenges. While the specific circumstances differ, the underlying theme of seeking divine guidance through prayer in times of difficulty is present in both.