Primary safety objective: Contrast medium-enhanced cardiac magnetic resonance imaging is safe in patients with acute ischemic stroke. Primary outcome: The diagnostic value of contrast medium-enhanced cardiac magnetic resonance imaging is comparable to transesophageal echocardiography in patients with acute ischemic stroke.