Do righteous men get hoor al-ayn only in Jannah or can they get hoor al-ayn in the barzakh after they die as well?

The certainty of it is that the hoor al-‘ayn is one of the specialties of the afterlife. As for whether there is a hoor-ein in the Barzakh, there are no details about that.