Short answer

Neither, by his own words. Luke opens his Gospel by saying that many others had already written accounts. He says the eyewitnesses handed the story down to him, so he was not one of them. He then says he studied it all with care and decided to write it out in order for a man named Theophilus. He never says that God (﷾) gave him his words. That is how a historian writes, not a prophet. Paul, a Christian missionary of the first century, also marks some of his advice as his own and not the Lord's. The Qur'an makes the opposite claim for itself: every word of it is revelation.

Read the full explanation

See your saved pages