Abu Bakr became one of the first converts to Islam and extensively contributed his wealth in support of Muhammad's work. He was among Muhammad's closest companions, accompanying him on his migration to Medina and being present at a number of his military conflicts, such as the battles of Badr and Uhud.