Which of the following is an example of the physical property of magnetism?