Starting issues

I am looking to purchase a 1993 Volvo 960 from a friend. It has a problem starting after it is warmed up. The car cold starts fine. The starter has been replaced and the engine spins but won’t start. Let the car sit for 30 minutes and it starts right up. Any Ideas as to what can be wrong?