There are two elements of Hayek's background that justify our considering him an Austrian economist: first, that he was raised and went to university in Vienna in the first three decades of the twentieth century, and second, that when he finally decided on economics as his field of study, he was trained within the Austrian tradition in economics.
"Hayek and the Austrian tradition", in Edward Feser(ed.), The Cambridge Companion to Hayek (2006)