In one narration the words are: Sayyidah Aishah (may Allah be pleased with her) narrates: The Prophet (peace and blessings be upon him) said: "The people of the Days of Ignorance (Jahiliyyah) used to say: 'Ill omen (or misfortune) is in a house, or in a woman, or in a horse.'" Then Sayyidah Aishah (may Allah be pleased with her) recited this verse: "No calamity befalls on the earth or in yourselves except that it is in a record (that is, according to the decree of destiny)."
Imam Ahmad recorded it, and its narrators are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الطب / 8405