The surgical operation of attaching the ileum to the abdominal wall at a stoma (similar to a colostomy).