However, there are a number of caveats against this interpretation. The scholar al-Halabi records a version of the "hadith" which includes the additional detail that Ali had not been Muhammad's first choice in governing Medina, having instead initially chosen an individual named Ja'far. It was only on the latter's refusal that Ali was given the position. It is also notable that the familial relationship between Moses and Aaron was not the same as that of Muhammad and Ali, given that one pair were brothers while the other were cousins/in-laws. Additionally, the Quran records that Aaron had failed in his duties during his brother's absence, having not only been unable to properly guide the people, but also joining them in performing idolatry. Finally, Aaron never succeeded his brother, having died during Moses' lifetime after being punished by God for the latter's mistakes.