Svetasvatara Upanishad says that once you attain Brahman or Self, it hardly matters how you conduct which includes killing of family members or other acts considered bad by the society. In effect, you transcend morality.