Abu Salih reported,

Ali رضي الله عنه once passed through Babylon while travelling. The caller to prayer came to him announcing the afternoon prayer, but only after Ali had crossed beyond its boundaries did he order the caller to call the iqamah for the prayer.When he had finished, he said, "My beloved ﷺ forbade me from praying in a graveyard, and he forbade me from praying in the land of Babylon, for it is accursed."

Abu Dawud 490

Daif

حدثنا سليمان بن داود أخبرنا ابن وهب قال حدثني ابن لهيعة ويحيى بن أزهر عن عمار بن سعد المرادي

عن أبي صالح الغفاري

أن عليا رضي الله عنه مر ببابل وهو يسير فجاءه المؤذن يؤذن بصلاة العصر فلما برز منها أمر المؤذن فأقام الصلاة فلما فرغ قال إن حبيبي ﷺ نهاني أن أصلي في المقبرة ونهاني أن أصلي في أرض بابل فإنها ملعونة

أبو داود 490ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Places where prayer is not permissible
Numbering
Darussalam 490
Abu Dawud 490