Poor friends Hesham, Medhat and Mokhtar resort to all ways to get rid of their poverty but end up in jail. After their release, lawyer Karni tells Hesham that his late wealthy wife has given up her palace to him on the condition that it becomes a school for homeless children.