A. Ansaar (RA) who stayed near the Masjid-e-Nabavi
B. Muhajirs (RA) who stayed near the Masjid-e-Nabavi
C. Muhajirs (RA) who stayed near the Masjid-e-Quba
D. Ansaar (RA) who stayed near the Masjid-e-Quba
The correct answer to the question: "who were Ashaab-e-Sufah?" is "Muhajirs (RA) who stayed near the Masjid-e-Nabavi".