Bismillahir Rahmaanir Raheem
Al Jawaab Billahit-Tawfeeq
That person should try their best to pray all five prayers daily, because those five prayers are compulsory. That being said, the act of not praying all five prayers or praying irregularly does not make that person's earning Haram, provided that it is Halal otherwise.