Moses was a man of God, therefore he was a man of prayer. He was very intimate with his God, and that intimacy can only be developed through prayer.