There are mainly three major differences between Section 24 of Hindu Marriage Act and section 125 of Cr.P.C. according to their procedure and belongings.
a) Under section 24 of Hindu Marriage Act only person belonging to Hindu religion can claim for maintenance and Under section 125 of Cr.P.C., a person belonging to any religion can claim maintenance.
b) Under section 24 of Hindu Marriage Act, maintenance is received only during the case proceedings weather under section 125 of Cr.P.C., maintenance is interim and permanent both.
c) Under Section 24 Hindu Marriage Act only husband and wife can claim for maintenance, on the other hand under section 125 of Cr.P.C., wife, parents and children can claim maintenance.