Diya al-Bakri in his book Tariikh al-Khamis states the matter as follows:
"And in the 30th year of the birth of the Prophet (peace be upon him), Ali ibn Abi Talib (peace be upon him) was born in the Ka‘bah."
Reference: Tariikh al-Khamis, Volume 1, Page 379