The meaning of this Hadīth is explained in the report of Abu Hurayrah (may Allah be pleased with him) which reads: "Each person has an abode in Paradise and an abode in Hell. If the believer enters Paradise, the disbeliever in Hell will take his place in it, because he deserves that due to his disbelief." "This is your ransom from the Hellfire" means that you were exposed to the risk of entering Hell, but this is your ransom. This is because Allah, the Almighty, decreed a number of inmates to enter Hell and fill it. When the disbelievers enter it because of their disbelief and sins, they will become like ransom for the Muslims. Allah knows best.
رياض الصالحين، للنووي، نشر: دار ابن كثير للطباعة والنشر والتوزيع، دمشق – بيروت، تحقيق: ماهر ياسين الفحل، الطبعة: الأولى، 1428هـ - 2007م. نزهة المتقين شرح رياض الصالحين، نشر: مؤسسة الرسالة، الطبعة: الرابعة عشر، 1407ه 1987م. كنوز رياض الصالحين، نشر: دار كنوز إشبيليا، الطبعة: الأولى، 1430ه 2009م. بهجة الناظرين شرح رياض الصالحين، للهلالي، نشر: دار ابن الجوزي. صحيح مسلم، تحقيق: محمد فؤاد عبد الباقي، نشر: دار إحياء التراث العربي – بيروت..