"They said: 'O Messenger of Allah (ﷺ)! When was the Prophethood established for you?' He said: 'While Adam was between (being) soul and body.'"
Jami` at-Tirmidhi Book 49, Hadith 5