The correct answer is "624 A. H." The Battle of Badr was fought in the second year after the Hijrah migration of the Prophet Muhammad (SAW) from Makkah to Madinah. It was fought on the 17th of Ramadan in the year 2 AH (624 CE) between the Muslims of Madinah, led by Prophet Muhammad (SAW), and the Quraysh of Makkah. It was a significant battle in Islamic history, as the outnumbered Muslim army emerged victorious over the much larger Quraysh army, which had come to attack them. The victory boosted the morale of the Muslims and solidified their position in Madinah.