Five people were killed near the Libyan city of Misrata on Sunday in a suicide bombing claimed by Islamic State militants.
The explosives-laden car detonated at a security checkpoint west of the city.
In a politically fractured Libya, Misrata is aligned with the unofficial government that controls the capital, Tripoli. Internationally recognized leadership is based in the eastern city of Tobruk.
Khalifa Ghwell, prime minister of the Tripoli-based administration, criticized what he described as outsiders bringing violence into the country.
"We will support all army, police and revolutionary forces to fight and chase those apostates who have come to Libya claiming they are representing Islam," Ghwell said. "Islam disowns them."
Islamic State supporters have claimed multiple attacks throughout the country since last year, including the highly-publicized beheadings of foreign workers.
Some material for this report came from AP, AFP and Reuters.