"Well would it have been for the prophet had he adhered to his purpose to return to Judea without delay. While traveling homeward by another route, he was overtaken by an aged man who claimed to be a prophet and who made false representations to the man of God, declaring, “I am a prophet also as thou art; and an angel spake unto me by the word of the Lord, saying, Bring him back with thee into thine house, that he may eat bread and drink water.” Again and again the lie was repeated and the invitation urged until the man of God was persuaded to return. PK 106.1"
"He said unto him, I am a prophet also as thou art; and an angel spake unto me by the word of the Lord, saying, Bring him back with thee into thine house, that he may eat bread and drink water. But he lied unto him."
The EGW passage directly recounts the events described in 1 Kings 13:18, including the false prophet's lie.
"Because the true prophet allowed himself to take a course contrary to the line of duty, God permitted him to suffer the penalty of transgression. While he and the one who had invited him to return to Bethel were sitting together at the table, the inspiration of the Almighty came upon the false prophet, “and he cried unto the man of God that came from Judah, saying, Thus saith the Lord, Forasmuch as thou hast disobeyed the mouth of the Lord, and hast not kept the commandment which the Lord thy God commanded thee, ... thy carcass shall not come unto the sepulcher of thy fathers.” Verses 18-22 . PK 106.2"
"And he cried unto the man of God that came from Judah, saying, Thus saith the Lord, Forasmuch as thou hast disobeyed the mouth of the Lord, and hast not kept the commandment which the Lord thy God commanded thee,"
EGW directly quotes 1 Kings 13:21, making this a clear and explicit allusion.