Statistics show that many people who quit their jobs, did so because they wanted a raise— Instead of quitting, they could have considered timing their requests better. Here’s an article detailing the exact right time to ask for one
Source: 45% of people who quit their jobs wanted a raise—here’s the exact right time to ask for one
Alternatively you can have a look at the following books on how to go about asking for a pay rise.
Timing is crucial.