No US forces were killed or wounded during the operation, Carter said.
"The operation represents another significant blow to ISIL, and it is a reminder that the United States will never waver in denying safe haven to terrorists who threaten our citizens, and those of our friends and allies," Carter said, using an acronym for the Islamic State organization.
The raid in Syria came at a time when Islamic State, which has declared a caliphate in areas it controls and has carried out beheadings and massacres, has scored high-profile gains in Iraq and made advances in Syria.
Islamic State militants raised their black flag over the local government headquarters in the Iraqi city of Ramadi on Friday and claimed victory after overrunning most of the provincial capital.
If Ramadi were to fall it would be the first major city seized by the Sunni insurgents in Iraq since security forces and paramilitary groups began pushing them back last year.
US House of Representatives Speaker John Boehner said he extended his "gratitude and continued support" for the US troops involved in the Syria raid. But Boehner, a Republican, said he was "gravely concerned" by Islamic State's advances in Ramadi, which he said "threatens the stability and sovereignty of Iraq, which is vital to America's interests."
Hawkish Republican critics of Obama, a Democrat, say he has not acted forcefully enough to rein in the rise of Islamic State.
GREEN LIGHT FROM OBAMA
White House National Security Council spokeswoman Bernadette Meehan said the Syria raid was conducted "with the full consent of Iraqi authorities." She said the United States did not give any advance warning or coordinate with the government of Syrian President Bashar al-Assad, who Washington opposes.
"The president authorized this operation upon the unanimous recommendation of his national security team and as soon as we had developed sufficient intelligence and were confident the mission could be carried out successfully," Meehan said.
Meehan said US forces freed a young Yezidi woman "who appears to have been held as a slave" by Abu Sayyaf and his wife. His wife was suspected of playing "an important role in ISIL's terrorist activities," Meehan said.
The US military last summer carried out a failed mission in Syria to rescue journalist James Foley, held hostage by Islamic State. Foley was later beheaded by the group in August 2014.
In December, al Qaeda militants shot and fatally wounded American photo journalist Luke Somers and South African teacher Pierre Korkie during a failed rescue attempt led by US commandos in Yemen.
Saturday's raid followed a summit Obama held at Camp David earlier this week with Saudi Arabia and other Gulf Arab allies who have pressed the United States to be more militarily assertive in Syria, especially in support of moderate rebels seeking to oust Assad.