What was Abū Zayd doing outside?

The Alexandrian Maqāmah — The Judge’s Mercy, Abū Zayd’s Secret and Final Regret