Samarium Cobalt magnets contain just those two elements. They are not quite as strong as neodymium magnets but work at much higher temperatures. These magnets are extremely brittle and must not be flexed nor allowed to jump together. If allowed to jump they crack, break or shatter.
Samarium Cobalt magnets are ideal for use in damp or wet conditions because they do not rust.