Door stop magnet. Looks like the button end should come off and mount to the door.
http://www.amazon.com/Magnetic-Doorstop-Conceal-Brushed-HDS300-2/dp/B00MTA8RZ4