The question contains a common misconception: Northern Ireland has no "Prime Minister." The devolved government's head is the First Minister, serving jointly with a deputy First Minister in a mandatory power-sharing executive.
In 2009, the officeholders were:
Arlene Foster (referenced in the original answer) became First Minister in January 2016, not 2009. She succeeded Peter Robinson after his resignation.
The Northern Ireland Executive is a consociational (power-sharing) cabinet. The First Minister and deputy First Minister have equal authority—neither can act without the other. They're nominated by the largest unionist and nationalist parties in the Assembly. Ministries are allocated via d'Hondt proportionality.
So in 2009: Robinson and McGuinness. The title was never "Prime Minister."