What is the ruling regarding a Muslim who fasts and doesn't pray. is his fast accepted?

These are separate acts of worship. The fasting would be accepted whereas he would be liable for the prayers he missed. Allah knows best.