They were both Hindu and Muslim.
हममें मुसलमान और हिन्दू दोनों थे।