A court in north India jailed three men for life on Monday over the rape and murder of an eight-year-old Muslim girl that stirred nationwide outrage and religious rivalries.