This question already has an answer here:
I'm a Kenyan citizen transiting through the UK on the way to Jamaica. I have an Italian ID card (the kind that is issued to foreign nationals who work with specialized agencies, and exempts the holder from having a residence permit). Can I use this document to transit through the UK?
Please note: I do not have a permanent residence card.
Also note that I am seeking to transit through the UK, and not visit (though I will need to pass through Immigration control, as my flight leaves the UK on the following calendar day).